Commit 49e381ab authored by Jessica Severin's avatar Jessica Severin
Browse files

added check for status being defined when dataflowing a job

parent e3ee9159
......@@ -294,7 +294,7 @@ sub flow_output_job {
return unless($job);
my $create_blocked_job = 0;
$create_blocked_job = 1 if($job->status eq 'BLOCKED');
$create_blocked_job = 1 if($job->status and ($job->status eq 'BLOCKED'));
my @output_jobs;
my $rules = $self->db->get_DataflowRuleAdaptor->fetch_from_analysis_job($job);
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