commit/galaxy-central: dannon: Correct tools handling of tool.handle_input -- this doesn't always return a successful job.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6b6c0b985ef3/ Changeset: 6b6c0b985ef3 User: dannon Date: 2014-06-11 17:39:21 Summary: Correct tools handling of tool.handle_input -- this doesn't always return a successful job. Affected #: 1 file diff -r 2f21305e92783303c6254c66678a0d44365f7770 -r 6b6c0b985ef35056b773197354afe83b07d88afa 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