[BioRuby-cvs] bioruby/lib/bio db.rb,0.26,0.27

Katayama Toshiaki k at pub.open-bio.org
Sun Aug 7 04:26:40 EDT 2005


Update of /home/repository/bioruby/bioruby/lib/bio
In directory pub.open-bio.org:/tmp/cvs-serv26880/lib/bio

Modified Files:
	db.rb 
Log Message:
* entry string is changed to be stripped before passed to entry2hash method
  in initialize


Index: db.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db.rb,v
retrieving revision 0.26
retrieving revision 0.27
diff -C2 -d -r0.26 -r0.27
*** db.rb	20 Jun 2004 10:30:06 -0000	0.26
--- db.rb	7 Aug 2005 08:26:38 -0000	0.27
***************
*** 91,95 ****
      def initialize(entry, tagsize)
        @tagsize = tagsize
!       @orig = entry2hash(entry)		# Hash of the original entry
        @data = {}			# Hash of the parsed entry
      end
--- 91,95 ----
      def initialize(entry, tagsize)
        @tagsize = tagsize
!       @orig = entry2hash(entry.strip)	# Hash of the original entry
        @data = {}			# Hash of the parsed entry
      end
***************
*** 131,135 ****
      def initialize(entry, tagsize)
        @tagsize = tagsize
!       @orig = entry2hash(entry)		# Hash of the original entry
        @data = {}			# Hash of the parsed entry
      end
--- 131,135 ----
      def initialize(entry, tagsize)
        @tagsize = tagsize
!       @orig = entry2hash(entry.strip)	# Hash of the original entry
        @data = {}			# Hash of the parsed entry
      end



More information about the bioruby-cvs mailing list