lib/bio/appl/blast.rb in ngoto-bio-1.3.0.5000 vs lib/bio/appl/blast.rb in ngoto-bio-1.3.1.5000

- old
+ new

@@ -255,11 +255,11 @@ def options=(ary) @options = set_options(ary) end # Server to submit the BLASTs to - attr_accessor :server + attr_reader :server # Sets server to submit the BLASTs to. # The exec_xxxx method should be defined in Bio::Blast or # Bio::Blast::Remote::Xxxx class. def server=(str) @@ -397,10 +397,10 @@ ncbiopt = NCBIOptions.new(a) if fmt = ncbiopt.get('-m') then @format = fmt.to_i else - Bio::Blast::Report #dummy to load XMLParser or REXML + dummy = Bio::Blast::Report #dummy to load XMLParser or REXML if defined?(XMLParser) or defined?(REXML) @format ||= 7 else @format ||= 8 end