commit/galaxy-central: dan: Fix for detecting job error in data manager tools; needed as a result of recent job flow changes.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c1f961549cca/ Changeset: c1f961549cca User: dan Date: 2013-05-14 21:54:33 Summary: Fix for detecting job error in data manager tools; needed as a result of recent job flow changes. Affected #: 1 file diff -r 4573880b2d9b7a76abcbe2ccac824ab9338df802 -r c1f961549cca546214ff4430dd6a01c42cfeaa63 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -3157,6 +3157,10 @@ #process results of tool if job and job.state == job.states.ERROR: return + #Job state may now be 'running' instead of previous 'error', but datasets are still set to e.g. error + for dataset in out_data.itervalues(): + if dataset.state != dataset.states.OK: + return data_manager_id = job.data_manager_association.data_manager_id data_manager = self.app.data_managers.get_manager( data_manager_id, None ) assert data_manager is not None, "Invalid data manager (%s) requested. It may have been removed before the job completed." % ( data_manager_id ) 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