Skip to content

Instantly share code, notes, and snippets.

@danmaclean
Created April 22, 2013 19:08
Show Gist options
  • Save danmaclean/5437636 to your computer and use it in GitHub Desktop.
Save danmaclean/5437636 to your computer and use it in GitHub Desktop.
Poor handling of empty lines (non chomping of line!) in experiments_controller.rb lines 51 - 54
File.open( "#{@experiment.gff_file.path}" ).each do |line|
next if line =~ /^#/
break if line =~ /^##fasta/ or line =~ /^>/
record = Bio::GFF::GFF3::Record.new(line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment