lims_interface: add data inputs to grouped data (2)

This commit is contained in:
Sebastián Marró 2020-11-04 01:42:23 -03:00
parent e1afdac4a3
commit 313fae4495
1 changed files with 2 additions and 1 deletions

View File

@ -782,7 +782,8 @@ class GroupedData(ModelView):
continue
ast = field.get_ast()
inputs = field.get_inputs().split()
inputs = [getattr(self, x) for x in inputs]
inputs = [self.data.get(x) if x in self.data.keys()
else getattr(self, x) for x in inputs]
try:
value = ast(*inputs)
except schedula.utils.exc.DispatcherError as e: