From 0529153ac090de0601f38af2fbf4f9a4fcccb615 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 2 Feb 2018 09:54:30 -0500 Subject: [PATCH] Fix bug in PJAs for collection mapping. Reported by @mvdbeek here (https://github.com/galaxyproject/galaxy/pull/5416#issuecomment-362194157). --- lib/galaxy/workflow/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/workflow/modules.py b/lib/galaxy/workflow/modules.py index 62a49fbaf0b..0daea4f2d0b 100644 --- a/lib/galaxy/workflow/modules.py +++ b/lib/galaxy/workflow/modules.py @@ -985,7 +985,7 @@ class ToolModule(WorkflowModule): def _handle_mapped_over_post_job_actions(self, step, step_inputs, step_outputs, replacement_dict): effective_post_job_actions = self._effective_post_job_actions(step) for pja in effective_post_job_actions: - if pja.action_type in ActionBox.immediate_actions: + if pja.action_type in ActionBox.mapped_over_output_actions: ActionBox.execute_on_mapped_over(self.trans.app, self.trans.sa_session, pja, step_inputs, step_outputs, replacement_dict) def _handle_post_job_actions(self, step, job, replacement_dict):