commit/galaxy-central: natefoo: Fix unpause when you have datasets imported from a library.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/7f7171c52b1d/ changeset: 7f7171c52b1d user: natefoo date: 2012-11-16 21:14:11 summary: Fix unpause when you have datasets imported from a library. affected #: 1 file diff -r c7bc628577af7f57b5511b2cc8e1423d5faf31df -r 7f7171c52b1d922fb6471c8ce373fa3e50901206 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -701,7 +701,7 @@ def resume_paused_jobs( self ): for dataset in self.datasets: job = dataset.creating_job - if job.state == Job.states.PAUSED: + if job is not None and job.state == Job.states.PAUSED: job.set_state(Job.states.QUEUED) def get_disk_size( self, nice_size=False ): # unique datasets only 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)
-
Bitbucket