lib/bio/appl/blast/remote.rb in bio-1.4.2 vs lib/bio/appl/blast/remote.rb in bio-1.4.3
- old
+ new
@@ -2,17 +2,17 @@
# = bio/appl/blast/remote.rb - remote BLAST wrapper basic module
#
# Copyright:: Copyright (C) 2008 Naohisa Goto <ng@bioruby.org>
# License:: The Ruby License
#
-# $Id:$
-#
-require 'bio/appl/blast'
+module Bio
-class Bio::Blast
+require 'bio/appl/blast' unless const_defined?(:Blast)
+class Blast
+
# Bio::Blast::Remote is a namespace for Remote Blast factory.
module Remote
autoload :GenomeNet, 'bio/appl/blast/genomenet'
autoload :Genomenet, 'bio/appl/blast/genomenet'
@@ -100,7 +100,8 @@
end
end #module Information
end #module Remote
-end #class Bio::Blast
+end #class Blast
+end #module Bio