lib/quorum.rb in quorum-0.7.1 vs lib/quorum.rb in quorum-0.8.0
- old
+ new
@@ -9,20 +9,19 @@
require "workers/system"
module Quorum
## Supported Algorithms ##
- BLAST_ALGORITHMS = ["blastn", "blastx", "blastp", "tblastn"].freeze
+ BLAST_ALGORITHMS = ["blastn", "blastx", "blastp", "tblastn"].freeze
+ SUPPORTED_ALGORITHMS = [BLAST_ALGORITHMS]
+ SUPPORTED_ALGORITHMS.flatten!
mattr_accessor :max_sequence_size, :blast_remote, :blast_ssh_host,
:blast_ssh_user, :blast_ssh_options, :blast_bin,
:blast_log_dir, :blast_tmp_dir, :blast_db, :tblastn,
:blastp, :blastn, :blastx, :blast_threads
- ## Deprecated ##
- mattr_accessor :blast_script
-
class << self
## General ##
# Max input sequence size.
@@ -93,15 +92,9 @@
end
# Number of Blast threads.
def blast_threads
@@blast_threads || 1
- end
-
- ## Blast Deprecated ##
-
- def blast_script
- nil
end
end
end