commit/galaxy-central: martenson: removed bug in libraries API (prepending ‘F’ to library id, should be only for folders)
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/658d07c0f844/ Changeset: 658d07c0f844 User: martenson Date: 2014-01-23 16:05:09 Summary: removed bug in libraries API (prepending ‘F’ to library id, should be only for folders) Affected #: 1 file diff -r 7e9ef97e04496434313430ee71aff7033c50c390 -r 658d07c0f8442657229062cfdc5f3fe6b6bd00e8 lib/galaxy/webapps/galaxy/api/libraries.py --- a/lib/galaxy/webapps/galaxy/api/libraries.py +++ b/lib/galaxy/webapps/galaxy/api/libraries.py @@ -50,7 +50,7 @@ for library in query: item = library.to_dict( view='element' ) item['url'] = url_for( route, id=trans.security.encode_id( library.id ) ) - item['id'] = 'F' + trans.security.encode_id( item['id'] ) + item['id'] = trans.security.encode_id( item['id'] ) item['root_folder_id'] = 'F' + trans.security.encode_id( item['root_folder_id'] ) libraries.append( item ) return libraries 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