From e1c264677b56b03581000e812bb70119841d5dae Mon Sep 17 00:00:00 2001 From: Javier Herrero <jherrero@ebi.ac.uk> Date: Thu, 16 Nov 2006 12:22:43 +0000 Subject: [PATCH] Fix logic in conditional autoflow --- modules/Bio/EnsEMBL/Hive/Worker.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Bio/EnsEMBL/Hive/Worker.pm b/modules/Bio/EnsEMBL/Hive/Worker.pm index f02c1c654..56cbc4a6d 100755 --- a/modules/Bio/EnsEMBL/Hive/Worker.pm +++ b/modules/Bio/EnsEMBL/Hive/Worker.pm @@ -526,8 +526,8 @@ sub run_module_with_job $job->query_count($self->queen->dbc->query_count); $job->runtime_msec(time()*1000 - $start_time); - unless(($runObj->isa("Bio::EnsEMBL::Hive::Process") and !($runObj->autoflow_inputjob)) - or !($self->execute_writes)) { + if ($runObj->isa("Bio::EnsEMBL::Hive::Process") and $runObj->autoflow_inputjob + and $self->execute_writes) { printf("AUTOFLOW input->output\n") if($self->debug); $self->queen->flow_output_job($job); } -- GitLab