1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/33676ce91213/ changeset: 33676ce91213 user: dan date: 2012-07-11 18:01:16 summary: Fix for history items going to different histories if current history is switched while the workflow is still being queued. affected #: 1 file diff -r f673cb8e75d9978ef069fd0dcad9ee0dc065ac6e -r 33676ce91213156e434e9c9c2f2def8d9fbbecc2 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py +++ b/lib/galaxy/web/controllers/workflow.py @@ -1409,6 +1409,9 @@ nh_name = '%s on %s' % (nh_name, mx_ds_name) new_history = trans.app.model.History( user=trans.user, name=nh_name ) trans.sa_session.add( new_history ) + target_history = new_history + else: + target_history = trans.get_history() # Run each step, connecting outputs to inputs workflow_invocation = model.WorkflowInvocation() workflow_invocation.workflow = workflow @@ -1429,7 +1432,7 @@ except KeyError, k: error( "Error due to input mapping of '%s' in '%s'. A common cause of this is conditional outputs that cannot be determined until runtime, please review your workflow." % (tool.name, k.message)) # Execute it - job, out_data = tool.execute( trans, step.state.inputs, history=new_history) + job, out_data = tool.execute( trans, step.state.inputs, history=target_history) outputs[ step.id ] = out_data # Create new PJA associations with the created job, to be run on completion. # PJA Parameter Replacement (only applies to immediate actions-- rename specifically, for now) 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.