Skip to content
Snippets Groups Projects
Commit 9f2754df authored by Eduardo Eyras's avatar Eduardo Eyras
Browse files

repeated variable declaration fixed in fetch_by_geneId method

parent 2a2b60f9
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,8 @@ sub fetch_by_stable_id {
sub fetch_by_geneId {
my ( $self, $geneId ) = @_;
my $hashRef;
my %exons;
my $hashRef;
my ( $currentId, $currentTranscript );
if( !defined $geneId ) {
......@@ -150,8 +150,6 @@ sub fetch_by_geneId {
my $sth = $self->prepare( $query );
$sth->execute();
my %exons;
while( $hashRef = $sth->fetchrow_hashref() ) {
if( ! exists $exons{ $hashRef->{exon_id} } ) {
......
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