commit/galaxy-central: dannon: Multiple-run workflows: When run into separate new histories, naming is now based on the varied input dataset instead of the execution number, so "<workflowname> on <varied_input>".
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/5e1534bae3f2/ changeset: 5e1534bae3f2 user: dannon date: 2012-02-07 15:45:19 summary: Multiple-run workflows: When run into separate new histories, naming is now based on the varied input dataset instead of the execution number, so "<workflowname> on <varied_input>". affected #: 1 file diff -r b45af710a58bbe64a2d98faee53e8baf6d6314a8 -r 5e1534bae3f22cb00382d4b5fe8143a2a3a70be7 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py +++ b/lib/galaxy/web/controllers/workflow.py @@ -1489,7 +1489,8 @@ else: nh_name = "History from %s workflow" % workflow.name if multiple_input_key: - nh_name = '%s %d' % (nh_name, input_number + 1) + mx_ds_name = trans.sa_session.query(trans.app.model.HistoryDatasetAssociation).get( single_input ).name + 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 ) # Run each step, connecting outputs to inputs 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.
participants (1)
-
Bitbucket