Commit 74e7ce80 authored by Jessica Severin's avatar Jessica Severin
Browse files

added safety check of unclaimed_job_count==0 in order for analysis_stats

to be promoted to 'DONE'
parent 17afec0d
......@@ -157,7 +157,7 @@ sub determine_status {
my $self = shift;
if($self->status ne 'BLOCKED') {
if($self->done_job_count>0 and
if($self->done_job_count>0 and $self->unclaimed_job_count == 0 and
$self->total_job_count == $self->done_job_count + $self->failed_job_count) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment