Skip to content

Commit

Permalink
flip logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fields committed Apr 13, 2012
1 parent 37b298a commit ca258c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/FeatureIO/gff.pm
Expand Up @@ -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);
Expand Down

0 comments on commit ca258c7

Please sign in to comment.