lib/bio/io/flatfile/indexer.rb in bio-1.0.0 vs lib/bio/io/flatfile/indexer.rb in bio-1.1.0

- old
+ new

@@ -1,12 +1,12 @@ # # = bio/io/flatfile/indexer.rb - OBDA flatfile indexer # # Copyright:: Copyright (C) 2002 GOTO Naohisa <ng@bioruby.org> -# License:: Ruby's +# License:: The Ruby License # -# $Id: indexer.rb,v 1.23 2006/02/22 08:41:03 ngoto Exp $ +# $Id: indexer.rb,v 1.25 2007/04/05 23:35:41 trevor Exp $ # require 'bio/io/flatfile/index' module Bio @@ -112,9 +112,10 @@ @fileid = fileid @flatfilename = file DEBUG.print "fileid=#{fileid} file=#{@flatfilename.inspect}\n" @flatfile = Bio::FlatFile.open(@dbclass, file, 'rb') @flatfile.raw = nil + @flatfile.entry_pos_flag = true @entry = nil end attr_reader :fileid def each