Merge pull request #8032 from mvdbeek/backport_param_as_output_fix

[19.01] Backport #7799 Skip recording workflow outputs for input parameters
This commit is contained in:
John Chilton
2019-05-24 09:29:41 -04:00
committed by GitHub
+3
View File
@@ -4440,6 +4440,9 @@ class WorkflowInvocation(UsesCreateAndUpdateTime, Dictifiable, RepresentById):
return [wid for wid in query.all()]
def add_output(self, workflow_output, step, output_object):
if step.type == 'parameter_input':
# TODO: these should be properly tracked.
return
if output_object.history_content_type == "dataset":
output_assoc = WorkflowInvocationOutputDatasetAssociation()
output_assoc.workflow_invocation = self