1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/1d73ef1ce3cd/ changeset: 1d73ef1ce3cd user: dannon date: 2012-03-07 19:13:58 summary: Workflows: Multiple run workflows now copy input datasets to newly created histories when used. affected #: 1 file diff -r c2a2ae70c05183e8c66c0c6e7a4c2c9ea30f03ec -r 1d73ef1ce3cd9040a808511c0f69ae04a514d635 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py +++ b/lib/galaxy/web/controllers/workflow.py @@ -1502,7 +1502,6 @@ job = None if step.type == 'tool' or step.type is None: tool = trans.app.toolbox.get_tool( step.tool_id ) - input_values = step.state.inputs # Connect up def callback( input, value, prefixed_name, prefixed_label ): if isinstance( input, DataToolParameter ): @@ -1531,6 +1530,11 @@ else: job, out_data = step.module.execute( trans, step.state ) outputs[ step.id ] = out_data + if new_history: + for input_dataset_hda in out_data.values(): + new_hda = input_dataset_hda.copy( copy_children=True ) + new_history.add_dataset(new_hda) + outputs[ step.id ]['input_ds_copy'] = new_hda # Record invocation workflow_invocation_step = model.WorkflowInvocationStep() workflow_invocation_step.workflow_invocation = workflow_invocation 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.