[BioRuby-cvs] bioruby/lib/bio/io flatfile.rb,1.44,1.45
Naohisa Goto
ngoto at pub.open-bio.org
Wed Feb 22 09:15:24 UTC 2006
Update of /home/repository/bioruby/bioruby/lib/bio/io
In directory pub.open-bio.org:/tmp/cvs-serv822/lib/bio/io
Modified Files:
flatfile.rb
Log Message:
changed HEADER to FLATFILE_HEADER.
Index: flatfile.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile.rb,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** flatfile.rb 22 Feb 2006 08:38:41 -0000 1.44
--- flatfile.rb 22 Feb 2006 09:15:22 -0000 1.45
***************
*** 273,277 ****
# It sees following constants in the given class.
# DELIMITER:: (String) delimiter indicates the end of a entry.
! # HEADER:: (String) start of a entry, located on head of a line.
# DELIMITER_OVERRUN:: (Integer) excess read size included in DELIMITER.
#
--- 273,277 ----
# It sees following constants in the given class.
# DELIMITER:: (String) delimiter indicates the end of a entry.
! # FLATFILE_HEADER:: (String) start of a entry, located on head of a line.
# DELIMITER_OVERRUN:: (Integer) excess read size included in DELIMITER.
#
***************
*** 283,287 ****
@stream = bstream
@delimiter = klass::DELIMITER rescue nil
! @header = klass::HEADER rescue nil
# for specific classes' benefit
unless header
--- 283,287 ----
@stream = bstream
@delimiter = klass::DELIMITER rescue nil
! @header = klass::FLATFILE_HEADER rescue nil
# for specific classes' benefit
unless header
***************
*** 306,310 ****
# If @header is not nil, it reads till the contents of @header
# comes at the head of a line.
! # If correct HEADER is found, returns true.
# Otherwise, returns nil.
def skip_leader
--- 306,310 ----
# If @header is not nil, it reads till the contents of @header
# comes at the head of a line.
! # If correct FLATFILE_HEADER is found, returns true.
# Otherwise, returns nil.
def skip_leader
More information about the bioruby-cvs
mailing list