1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/82f9422864ff/ changeset: r5223:82f9422864ff user: dannon date: 2011-03-15 20:39:35 summary: Fix for example workflow api script failing when the requested library doesn't exist and an attempt is made to create it. affected #: 1 file (3 bytes) --- a/scripts/api/example_watch_folder.py Tue Mar 15 14:43:06 2011 -0400 +++ b/scripts/api/example_watch_folder.py Tue Mar 15 15:39:35 2011 -0400 @@ -27,7 +27,7 @@ if not library_id: lib_create_data = {'name':data_library} library = submit(api_key, api_url + 'libraries', lib_create_data, return_formatted=False) - library_id = library['id'] + library_id = library[0]['id'] folders = display(api_key, api_url + "libraries/%s/contents" % library_id, return_formatted = False) for f in folders: if f['name'] == "/": 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.