commit/galaxy-central: dannon: Remove unused yet exposed 'stdoutX' method of the datasets controller.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f25f3fee4da7/ changeset: f25f3fee4da7 user: dannon date: 2013-03-08 22:01:25 summary: Remove unused yet exposed 'stdoutX' method of the datasets controller. affected #: 1 file diff -r 619995bcb99feda43d9a369a7aa563108a19f3c7 -r f25f3fee4da76fc0660ba27a1b26673d7592ddc1 lib/galaxy/webapps/galaxy/controllers/dataset.py --- a/lib/galaxy/webapps/galaxy/controllers/dataset.py +++ b/lib/galaxy/webapps/galaxy/controllers/dataset.py @@ -180,16 +180,6 @@ if not hda or not self._can_access_dataset( trans, hda ): return trans.show_error_message( "Either this dataset does not exist or you do not have permission to access it." ) return trans.fill_template( "dataset/errors.mako", hda=hda ) - @web.expose - def stdoutX( self, trans, dataset_id=None, **kwargs ): - trans.response.set_content_type( 'text/plain' ) - try: - hda = trans.sa_session.query( trans.app.model.HistoryDatasetAssociation ).get( trans.security.decode_id( dataset_id ) ) - assert hda and self._can_access_dataset( trans, hda ) - job = hda.creating_job_associations[0].job - except: - return "Invalid dataset ID or you are not allowed to access this dataset" - return job.stdout @web.expose def stdout( self, trans, dataset_id=None, **kwargs ): 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