Commit 585edf27 authored by Jessica Severin's avatar Jessica Severin
Browse files

fixed bug in blocking/unblocking via ctrl_rules

parent e599ddde
......@@ -347,8 +347,10 @@ sub check_blocking_control_rules
}
if($allRulesDone) {
#print(" UNBLOCK analysis : all conditions met\n");
$stats->adaptor->update_status($stats->analysis_id, 'READY');
if($stats->status eq 'BLOCKED') {
#print(" UNBLOCK analysis : all conditions met\n");
$stats->adaptor->update_status($stats->analysis_id, 'READY');
}
} else {
#print(" RE-BLOCK analysis : all conditions met\n");
$stats->adaptor->update_status($stats->analysis_id, 'BLOCKED');
......
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