1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/f44f6beea3da/ Changeset: f44f6beea3da User: jgoecks Date: 2013-04-30 20:36:20 Summary: Clean up for copying datasets to current history. Affected #: 1 file
diff -r 4c7b5f4d569d478fd83fbfa3bf8d2f0187a30c1a -r f44f6beea3daf77bd48fdb8a657f7cb593b72b6f lib/galaxy/webapps/galaxy/controllers/dataset.py --- a/lib/galaxy/webapps/galaxy/controllers/dataset.py +++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py @@ -546,8 +546,14 @@ hda_ids = [ trans.security.encode_id( hda.id ) for hda in hdas ] trans.template_context[ 'seek_hda_ids' ] = hda_ids elif operation == "copy to current history": - # Copy a dataset to the current history. + # + # Copy datasets to the current history. + # + target_histories = [ trans.get_history() ] + + # Reverse HDAs so that they appear in the history in the order they are provided. + hda_ids.reverse() status, message = self._copy_datasets( trans, hda_ids, target_histories )
# Current history changed, refresh history frame.
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.
galaxy-commits@lists.galaxyproject.org