Skip to content

Commit

Permalink
make sure the returned format is GFF3
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fields committed Aug 3, 2010
1 parent 0abbbde commit 6f662c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/Bio-SeqFeature-Store/bp_seqfeature_gff3.PLS
Expand Up @@ -64,7 +64,9 @@ while (my $seq = $seq_stream->next_seq) {
print $seq->gff3_string(@gff3opt) . "\n";
}
elsif ( $seq->can( 'gff_string' )) {
print $seq->gff_string . "\n";
# since we intend on getting a GFF3 string, make sure to pass the version
$seq->gff_format->gff_version(3);
print $seq->gff_string() . "\n";
}
else {
confess "sequence object $seq does not support gff3_string() or gff_string() methods!"
Expand Down

0 comments on commit 6f662c6

Please sign in to comment.