commit/galaxy-central: carlfeberhard: Fix to replace get_dataset in visualization registry ResourceParser with hda_manager.get_accessible
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a95230bfcbe7/ Changeset: a95230bfcbe7 User: carlfeberhard Date: 2015-01-23 17:44:46+00:00 Summary: Fix to replace get_dataset in visualization registry ResourceParser with hda_manager.get_accessible Affected #: 1 file diff -r 482d85dda5d3546e1d6e9cca6d712d7af8c772ba -r a95230bfcbe7777562ccf808cb86a471aac4bda4 lib/galaxy/visualization/registry.py --- a/lib/galaxy/visualization/registry.py +++ b/lib/galaxy/visualization/registry.py @@ -960,10 +960,8 @@ check_ownership=False, check_accessible=True ) elif param_type == 'dataset': - encoded_dataset_id = query_param - # really an hda... - parsed_param = controller.get_dataset( trans, encoded_dataset_id, - check_ownership=False, check_accessible=True ) + decoded_dataset_id = trans.security.decode_id( query_param ) + parsed_param = controller.hda_manager.get_accessible( trans, decoded_dataset_id, trans.user ) elif param_type == 'hda_or_ldda': encoded_dataset_id = query_param 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