Skip to content

Commit

Permalink
remove debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
mtw committed Nov 25, 2018
1 parent 791a45c commit 038ca36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Bio/ViennaNGS/FeatureInterval.pm
@@ -1,5 +1,5 @@
# -*-CPerl-*-
# Last changed Time-stamp: <2018-01-10 00:28:46 mtw>
# Last changed Time-stamp: <2018-11-25 21:40:36 mtw>

package Bio::ViennaNGS::FeatureInterval;

Expand Down Expand Up @@ -48,14 +48,12 @@ sub BUILD { # call a parser method, depending on $self->instanceOf
confess "ERROR [$this_function] \$self->end must be > than \$self->start for 0-based start coordinates [==> start ".eval($self->start)." end ".eval($self->end)." <==]"
unless ($self->end > $self->start);
$len = eval($self->end)-eval($self->start)-1;
print "len $len\n";
$self->_length($len);
}
else {
confess "ERROR [$this_function] \$self->end must be >= than \$self->start for 0-based start coordinates [==> start ".eval($self->start)." end ".eval($self->end)." <==]"
unless ($self->end >= $self->start);
$len = $self->end-$self->start;
print "len $len\n";
$self->_length($len);
}
}
Expand Down

0 comments on commit 038ca36

Please sign in to comment.