Skip to content
Snippets Groups Projects
Commit 3d55282d authored by Magali Ruffier's avatar Magali Ruffier
Browse files

Automatic merging of dev into master

* dev:
  there can be several statistics for prediction_count
parents 72c92877 5fa6704c
No related branches found
No related tags found
No related merge requests found
......@@ -1109,9 +1109,8 @@ sub get_short_variation_count {
=head2 get_prediction_count
Arg [1] : (optional) logic_name
Arg [2] : (optional) prediction count
Example : $prediction_count = $genome->get_prediction_count();
Description: Getter/setter for the number of predicted genes in the current build
Description: Getter for the number of predicted genes in the current build
Can be restricted to a given analysis
Returntype : integer
......@@ -1122,14 +1121,8 @@ sub get_short_variation_count {
=cut
sub get_prediction_count {
my ($self, $logic_name, $prediction_count) = @_;
if (defined $prediction_count) {
$self->{'prediction_count'} = $prediction_count;
}
if (!defined $self->{'prediction_count'}) {
$self->{'prediction_count'} = $self->_get_count('PredictionTranscript', $logic_name);
}
return $self->{'prediction_count'};
my ($self, $logic_name) = @_;
return $self->_get_count('PredictionTranscript', $logic_name);
}
......
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