diff options
-rw-r--r-- | Wrappers/Python/ccpi/framework.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/framework.py b/Wrappers/Python/ccpi/framework.py index 485e96b..d82010b 100644 --- a/Wrappers/Python/ccpi/framework.py +++ b/Wrappers/Python/ccpi/framework.py @@ -863,8 +863,9 @@ class DataProcessor(object): raise NotImplementedError('Implement basic checks for input DataContainer') def get_output(self): - if None in self.__dict__.values(): - raise ValueError('Not all parameters have been passed') + for k,v in self.__dict__.items(): + if v is None: + raise ValueError('Key {0} is None'.format(k)) shouldRun = False if self.runTime == -1: shouldRun = True |