diff options
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/framework/framework.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Wrappers/Python/ccpi/framework/framework.py b/Wrappers/Python/ccpi/framework/framework.py index 0a0baea..01ce7ef 100755 --- a/Wrappers/Python/ccpi/framework/framework.py +++ b/Wrappers/Python/ccpi/framework/framework.py @@ -1309,6 +1309,9 @@ class DataProcessor(object): if issubclass(type(dataset), DataContainer): if self.check_input(dataset): self.__dict__['input'] = dataset + self.__dict__['mTime'] = datetime.now() + else: + raise ValueError('Input data not compatible') else: raise TypeError("Input type mismatch: got {0} expecting {1}"\ .format(type(dataset), DataContainer)) |