From 7296dfbd1cba5c055b276ba099d32827c7024dd4 Mon Sep 17 00:00:00 2001 From: Gemma Fardell <47746591+gfardell@users.noreply.github.com> Date: Tue, 29 Oct 2019 15:46:32 +0000 Subject: Bug fix: Input data change updates mtime (#416) --- Wrappers/Python/ccpi/framework/framework.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Wrappers') 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)) -- cgit v1.2.3