[BioRuby-cvs] bioruby/lib/bio/io keggapi.rb,1.9,1.10

Katayama Toshiaki k at pub.open-bio.org
Fri Nov 25 06:28:32 EST 2005


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

Modified Files:
	keggapi.rb 
Log Message:
* fixed bug in get_definitions


Index: keggapi.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/keggapi.rb,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** keggapi.rb	26 Sep 2005 13:00:08 -0000	1.9
--- keggapi.rb	25 Nov 2005 11:28:30 -0000	1.10
***************
*** 146,150 ****
      0.step(ary.length, step) do |i|
        str = ary[i, step].join(" ")
!       if entry = @driver.send(:bget, str)
          result << entry.to_s
        end
--- 146,150 ----
      0.step(ary.length, step) do |i|
        str = ary[i, step].join(" ")
!       if entry = @driver.send(:btit, str)
          result << entry.to_s
        end
***************
*** 160,164 ****
        results.each do |result|
          def result.filter(fields)
!           fields.collect {|field| self.send(field)}
          end
        end
--- 160,164 ----
        results.each do |result|
          def result.filter(fields)
!           fields.collect { |field| self.send(field) }
          end
        end



More information about the bioruby-cvs mailing list