Commit c4d0220e authored by Abel Ureta-Vidal's avatar Abel Ureta-Vidal
Browse files

Now runnable return an array reference rather than an array

parent 7aa94f23
......@@ -432,7 +432,7 @@ sub parameters {
Title : runnable
Usage : $self->runnable($arg)
Function: Sets a runnable for this RunnableDB
Returns : Bio::EnsEMBL::Analysis::Runnable
Returns : arrayref of Bio::EnsEMBL::Analysis::Runnable
Args : Bio::EnsEMBL::Analysis::Runnable
=cut
......@@ -452,7 +452,7 @@ sub runnable {
&throw("[$arg] is not a Bio::EnsEMBL::Analysis::Runnable");
}
}
return @{$self->{'runnable'}};
return $self->{'runnable'};
}
=head2 output
......
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