Created
April 22, 2013 19:08
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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