Merge pull request #2518 from dannon/backport_to_1601_pjafix

[16.01] Copy PJAs when importing a workflow.
This commit is contained in:
Nicola Soranzo
2016-06-20 18:36:29 +01:00
committed by GitHub
+5 -1
View File
@@ -3692,7 +3692,11 @@ class WorkflowStep( object ):
new_conn.output_step = step_mapping[old_conn.output_step_id]
if old_conn.input_subworkflow_step_id:
new_conn.input_subworkflow_step = subworkflow_step_mapping[old_conn.input_subworkflow_step_id]
for orig_pja in self.post_job_actions:
PostJobAction( orig_pja.action_type,
copied_step,
output_name=orig_pja.output_name,
action_arguments=orig_pja.action_arguments )
copied_step.workflow_outputs = copy_list(self.workflow_outputs, copied_step)
def log_str(self):