Permalink
Browse files

flip logic

  • Loading branch information...
Chris Fields
Chris Fields committed Apr 13, 2012
1 parent 37b298a commit ca258c7b7acd7173fd4af99a81dfc85f1172d516
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bio/FeatureIO/gff.pm
View
@@ -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.