Skip to content
Browse files

flip logic

  • Loading branch information...
1 parent 37b298a commit ca258c7b7acd7173fd4af99a81dfc85f1172d516 Chris Fields committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bio/FeatureIO/gff.pm
View
2 lib/Bio/FeatureIO/gff.pm
@@ -84,7 +84,7 @@ sub next_dataset {
# validate here?
(@feat{qw(-seq_id -source -primary_tag -start -end
-score -strand -phase)}, $attstr) =
- map {$_ ne '.' ? $_ : undef } split( "\t" ,$line);
+ map {$_ eq '.' ? undef : $_ } split( "\t" ,$line);
for my $kv (split(/\s*;\s*/, $attstr)) {
my ($key, $rest) = split( '=', $kv, 2);

0 comments on commit ca258c7

Please sign in to comment.
Something went wrong with that request. Please try again.