Skip to content

Commit

Permalink
adding a final flush to the write() method
Browse files Browse the repository at this point in the history
(fixes a bork on my system; don't think it 
can hurt)

svn path=/bioperl-dev/trunk/; revision=15918
  • Loading branch information
maj committed Aug 13, 2009
1 parent 6df86eb commit 0e8e02d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Bio/NexmlIO.pm
Expand Up @@ -406,7 +406,9 @@ sub write {
}

#write nexml document to stream
$self->_print($proj_doc->to_xml());
my $ret = $self->_print($proj_doc->to_xml());
$self->flush;
return($ret);
}

1;
Expand Down

0 comments on commit 0e8e02d

Please sign in to comment.