Skip to content
Snippets Groups Projects
Commit e66f5386 authored by Jessica Severin's avatar Jessica Severin
Browse files

fixed bug in setting branch_code to something other than '1'

parent 3db75c83
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ sub Bio::EnsEMBL::Pipeline::RunnableDB::branch_code
{
my $self = shift;
$self->{'_branch_code'} = shift if(@_);
$self->{'_branch_code'}=1 unless($self->{'_batch_size'});
$self->{'_branch_code'}=1 unless($self->{'_branch_code'});
return $self->{'_branch_code'};
}
......@@ -258,7 +258,7 @@ sub Bio::EnsEMBL::Analysis::RunnableDB::branch_code
{
my $self = shift;
$self->{'_branch_code'} = shift if(@_);
$self->{'_branch_code'}=1 unless($self->{'_batch_size'});
$self->{'_branch_code'}=1 unless($self->{'_branch_code'});
return $self->{'_branch_code'};
}
......
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