commit/galaxy-central: guerler: ToolForm: Handle implicit conversion for reruns
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/46087ed045d8/ Changeset: 46087ed045d8 User: guerler Date: 2014-11-14 20:32:29+00:00 Summary: ToolForm: Handle implicit conversion for reruns Affected #: 1 file diff -r 31dbad21bd6b8de1f66db0fe197b713f88e880bc -r 46087ed045d8dbb6570393d5223ba5bd0772b7e4 lib/galaxy/tools/parameters/basic.py --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -2086,15 +2086,17 @@ # add datasets for hda in history.active_datasets_children_and_roles: - if dataset_matcher.hda_match( hda ): + match = dataset_matcher.hda_match( hda ) + if match: + m = match.hda d['options']['hda'].append({ - 'id' : trans.security.encode_id( hda.id ), - 'id_uncoded' : hda.id, - 'hid' : hda.hid, - 'name' : hda.name, + 'id' : trans.security.encode_id( m.id ), + 'id_uncoded' : m.id, + 'hid' : m.hid, + 'name' : m.name, 'src' : 'hda' }) - + # add dataset collections dataset_collection_matcher = DatasetCollectionMatcher( dataset_matcher ) for hdca in history.active_dataset_collections: 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)
-
commits-noreply@bitbucket.org