Commit 21ebd917 authored by Jessica Severin's avatar Jessica Severin
Browse files

added defined to allow empty string to be used as outdir

parent a9f7f07f
......@@ -78,7 +78,7 @@ my $queen = $DBA->get_Queen();
my $worker = $queen->create_new_worker($self->{'analysis_id'}, $self->{'beekeeper'});
die("couldn't create worker for analysis_id ".$self->{'analysis_id'}."\n") unless($worker);
if($self->{'outdir'}) { $worker->output_dir($self->{'outdir'}); }
if(defined($self->{'outdir'})) { $worker->output_dir($self->{'outdir'}); }
else {
my $arrRef = $DBA->get_MetaContainer->list_value_by_key( 'hive_output_dir' );
if( @$arrRef ) {
......
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