1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7b02c61a6c21/ Changeset: 7b02c61a6c21 User: hackdna Date: 2014-06-28 23:57:06 Summary: Enable stopping jobs when history is deleted via the API. Affected #: 1 file diff -r 2577b386dbbe421e80c816abf7683359ab64fe1f -r 7b02c61a6c21d0ffe8b7160ba51a27ab1bbf2b01 lib/galaxy/webapps/galaxy/api/histories.py --- a/lib/galaxy/webapps/galaxy/api/histories.py +++ b/lib/galaxy/webapps/galaxy/api/histories.py @@ -235,6 +235,10 @@ for hda in history.datasets: if hda.purged: continue + if hda.creating_job_associations: + job = hda.creating_job_associations[0].job + job.mark_deleted( self.app.config.track_jobs_in_database ) + self.app.job_manager.job_stop_queue.put( job.id ) hda.purged = True trans.sa_session.add( hda ) trans.sa_session.flush() 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.