[BioRuby-cvs] bioruby/lib/bio/db/genbank genpept.rb,1.7,1.8

Katayama Toshiaki k at pub.open-bio.org
Mon Sep 26 09:13:25 EDT 2005


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

Modified Files:
	genpept.rb 
Log Message:
* fixed that GenPept#entry_id causes NoMethodError (undefined method
  'entry_id' for Bio::GenPept::Locus) by adding accessors for :entry_id,
  :seq_len, :circular, :division, :date in Locus class. 


Index: genpept.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/genbank/genpept.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** genpept.rb	26 Sep 2005 13:00:07 -0000	1.7
--- genpept.rb	26 Sep 2005 13:13:23 -0000	1.8
***************
*** 38,41 ****
--- 38,42 ----
        @date     = locus_line[68..78].strip
      end
+     attr_accessor :entry_id, :seq_len, :circular, :division, :date
    end
  



More information about the bioruby-cvs mailing list