[BioRuby-cvs] bioruby/lib/bio/appl blast.rb,1.22,1.23

Naohisa Goto ngoto at pub.open-bio.org
Fri Sep 9 10:59:55 EDT 2005


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

Modified Files:
	blast.rb 
Log Message:
* fixed autoload problem about Bio::Blast.
* changed not to require bio/db.rb in format0.rb.


Index: blast.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/blast.rb,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** blast.rb	8 Sep 2005 01:22:08 -0000	1.22
--- blast.rb	9 Sep 2005 14:59:53 -0000	1.23
***************
*** 24,34 ****
  require 'net/http'
  require 'cgi' unless defined?(CGI)
- require 'bio/appl/blast/report'
  require 'bio/command'
  require 'shellwords'
  
  module Bio
  
    class Blast
  
      include Bio::Command::Tools
--- 24,42 ----
  require 'net/http'
  require 'cgi' unless defined?(CGI)
  require 'bio/command'
  require 'shellwords'
  
+ require 'bio/appl/blast/report' # for Bio::Blast.reports method
+ 
  module Bio
  
    class Blast
+ 
+     autoload :Fastacmd,     'bio/io/fastacmd'
+     #autoload :Report,       'bio/appl/blast/report'
+     ## cannot autoload report.rb because of Bio::Blast.reports method
+     autoload :Default,      'bio/appl/blast/format0'
+     autoload :WU,           'bio/appl/blast/wublast'
+     autoload :Bl2seq,       'bio/appl/bl2seq/report'
  
      include Bio::Command::Tools



More information about the bioruby-cvs mailing list