Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug where mid was not properly updated
  • Loading branch information
fangly committed Nov 25, 2011
1 parent 6b81602 commit d25e796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Bio/Seq/SimulatedRead.pm
Expand Up @@ -607,7 +607,7 @@ sub track {
if (defined $self->reference) {
if ($track == 1) {
$self->_create_desc;
$self->_update_desc_mid;
$self->_update_desc_mid($self->mid);
$self->_update_desc_errors;
} else {
$self->desc(undef);
Expand Down
4 changes: 2 additions & 2 deletions t/Seq/SimulatedRead.t
Expand Up @@ -7,7 +7,7 @@ use warnings;
BEGIN {
use lib '.';
use Bio::Root::Test;
test_begin(-tests => 188);
test_begin(-tests => 194);

use_ok('Bio::Seq');
use_ok('Bio::Seq::Quality');
Expand Down Expand Up @@ -35,7 +35,7 @@ $ref4 = Bio::LocatableSeq->new( -id => 'a_thaliana',
-seq => 'CGTATTCTGAGGAGAGCTCT' );


## Basic object
# Basic object

ok $read = Bio::Seq::SimulatedRead->new( );
isa_ok $read, 'Bio::Seq::SimulatedRead';
Expand Down

0 comments on commit d25e796

Please sign in to comment.