1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4b62b6426548/ Changeset: 4b62b6426548 User: jgoecks Date: 2013-12-19 20:30:09 Summary: Workflows API, running workflows: add support for using workflow replacement parameters in postjob actions. This enables use of rename action. Affected #: 1 file diff -r 706a30b2c1a08279a1ddf3f5149f2ade03eb5f5c -r 4b62b64265487834429b5337b6d3c3c9c38b072a lib/galaxy/webapps/galaxy/api/workflows.py --- a/lib/galaxy/webapps/galaxy/api/workflows.py +++ b/lib/galaxy/webapps/galaxy/api/workflows.py @@ -112,8 +112,6 @@ # ------------------------------------------------------------------------------- # - - if 'workflow_id' not in payload: # create new if 'installed_repository_file' in payload: @@ -241,11 +239,15 @@ visit_input_values( tool.inputs, step.state.inputs, callback ) job, out_data = tool.execute( trans, step.state.inputs, history=history) outputs[ step.id ] = out_data + + # Do post-job actions. + replacement_params = payload.get('replacement_params', {}) for pja in step.post_job_actions: if pja.action_type in ActionBox.immediate_actions: - ActionBox.execute(self.app, trans.sa_session, pja, job, replacement_dict=None) + ActionBox.execute(trans.app, trans.sa_session, pja, job, replacement_dict=replacement_params) else: job.add_post_job_action(pja) + for v in out_data.itervalues(): rval['outputs'].append(trans.security.encode_id(v.id)) else: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.