Commit 9086da2f authored by Janez K's avatar Janez K
Browse files

speedup cross validation

parent 4269aecb
...@@ -796,6 +796,8 @@ class Widget(models.Model): ...@@ -796,6 +796,8 @@ class Widget(models.Model):
""" else run abstract widget function """ """ else run abstract widget function """
outputs = function_to_call(input_dict) outputs = function_to_call(input_dict)
else: else:
Input.objects.filter(widget__workflow=self.workflow_link,parameter=False).update(value=None)
Output.objects.filter(widget__workflow=self.workflow_link).update(value=None)
wr = WidgetRunner(self,workflow_runner=WorkflowRunner(self.workflow,clean=False),standalone=True) wr = WidgetRunner(self,workflow_runner=WorkflowRunner(self.workflow,clean=False),standalone=True)
wr.run() wr.run()
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment