[BioRuby-cvs] bioruby/lib/bio/io/flatfile indexer.rb,1.23,1.24
Naohisa Goto
ngoto at pub.open-bio.org
Wed Mar 22 10:19:24 UTC 2006
Update of /home/repository/bioruby/bioruby/lib/bio/io/flatfile
In directory pub.open-bio.org:/tmp/cvs-serv5657/lib/bio/io/flatfile
Modified Files:
indexer.rb
Log Message:
Bio::FlatFile did not work correctly for pipes.
Bio::FlatFile#entry_start_pos and #entry_ended_pos are changed to be enabled
only when Bio::FlatFile#entry_pos_flag is true.
Index: indexer.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/indexer.rb,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** indexer.rb 22 Feb 2006 08:41:03 -0000 1.23
--- indexer.rb 22 Mar 2006 10:19:22 -0000 1.24
***************
*** 115,118 ****
--- 115,119 ----
@flatfile = Bio::FlatFile.open(@dbclass, file, 'rb')
@flatfile.raw = nil
+ @flatfile.entry_pos_flag = true
@entry = nil
end
More information about the bioruby-cvs
mailing list