commit/galaxy-central: natefoo: Merged in jmchilton/galaxy-central-fork-1/stable (pull request #415)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5a9adea86d41/ Changeset: 5a9adea86d41 Branch: stable User: natefoo Date: 2014-06-12 14:50:00 Summary: Merged in jmchilton/galaxy-central-fork-1/stable (pull request #415) [stable] API bug fixes for stable Affected #: 2 files diff -r ca53bc55bdc5f8c0d8089da2f42cf9d81f0a15d4 -r 5a9adea86d411348023b7307b3c935cd99c6dea9 lib/galaxy/webapps/galaxy/api/history_contents.py --- a/lib/galaxy/webapps/galaxy/api/history_contents.py +++ b/lib/galaxy/webapps/galaxy/api/history_contents.py @@ -143,7 +143,7 @@ 'purged': hda.purged, 'hid' : hda.hid, 'history_content_type' : hda.history_content_type, - 'url' : url_for( 'history_content', history_id=encoded_history_id, id=encoded_id, type="dataset" ), + 'url' : url_for( 'history_content', history_id=encoded_history_id, id=encoded_id ), } def __collection_dict( self, trans, dataset_collection_instance, view="collection" ): diff -r ca53bc55bdc5f8c0d8089da2f42cf9d81f0a15d4 -r 5a9adea86d411348023b7307b3c935cd99c6dea9 lib/galaxy/webapps/galaxy/api/tools.py --- a/lib/galaxy/webapps/galaxy/api/tools.py +++ b/lib/galaxy/webapps/galaxy/api/tools.py @@ -156,7 +156,7 @@ output_dict[ 'output_name' ] = output_name outputs.append( trans.security.encode_dict_ids( output_dict ) ) - for job in vars[ 'jobs' ]: + for job in vars.get('jobs', []): rval[ 'jobs' ].append( self.encode_all_ids( trans, job.to_dict( view='collection' ), recursive=True ) ) for output_name, collection_instance in vars.get( 'implicit_collections', {} ).iteritems(): 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