wurmlab / flo

Same species annotation lift over pipeline.
95 stars 28 forks source link

`foreach': no implicit conversion of nil into String (TypeError #18

Closed mictadlo closed 6 years ago

mictadlo commented 6 years ago

Hi, I ran in the following problem:

/apps/flo/gff_remove_feats.rb annotation_v2.gff3 > annotation_v2_cleaned.gff3 
apps/flo/gff_remove_feats.rb:15:in `foreach': no implicit conversion of nil into String (TypeError)
    from /apps/flo/gff_remove_feats.rb:15:in `<main>'

Did I miss anything?

Thank you in advance.

Best wishes,

Michal

yeban commented 6 years ago

You missed the first argument - the feature type to remove.

gff_remove_feats.rb gene input.gff > output.gff
yeban commented 6 years ago

Please don't close the issue. I will take this as a reminder to add a check to the script.

mictadlo commented 6 years ago

Thank you it worked

yeban commented 6 years ago

Closed in 3f3ce61673a898405ce138a141cebb56f370c64e