Skip to content
Snippets Groups Projects
Commit fcd32e4d authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Rename fetch_by_dbID_list() --> fetch_all_by_dbID_list().

parent 275ac11e
No related branches found
No related tags found
No related merge requests found
......@@ -591,7 +591,7 @@ ORDER BY closure.distance);
$sth->finish();
my @terms = @{ $this->fetch_by_dbID_list( [ keys(%id_chart) ] ) };
my @terms = @{ $this->fetch_all_by_dbID_list( [ keys(%id_chart) ] ) };
foreach my $term (@terms) {
$id_chart{ $term->dbID() }{'term'} = $term;
......@@ -659,7 +659,7 @@ WHERE ontology.ontology_id = term.ontology_id
return $term;
} ## end sub fetch_by_dbID
sub fetch_by_dbID_list {
sub fetch_all_by_dbID_list {
my ( $this, $dbids ) = @_;
if ( !@{$dbids} ) { return [] }
......@@ -711,7 +711,7 @@ WHERE ontology.ontology_id = term.ontology_id
$sth->finish();
return \@terms;
} ## end sub fetch_by_dbID_list
} ## end sub fetch_all_by_dbID_list
sub fetch_all {
my ($this) = @_;
......
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