diff --git a/modules/Bio/EnsEMBL/Hive/Queen.pm b/modules/Bio/EnsEMBL/Hive/Queen.pm index dcf903da80a5c1adcbdc7c1f29cd14450421a24f..23b4af8a399f4bffb65a388ef902d5c3562dd4dc 100755 --- a/modules/Bio/EnsEMBL/Hive/Queen.pm +++ b/modules/Bio/EnsEMBL/Hive/Queen.pm @@ -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');