lib/workers/system.rb in quorum-0.7.1 vs lib/workers/system.rb in quorum-0.8.0

- old
+ new

@@ -92,11 +92,13 @@ # Create search command based on config/quorum_settings.yml # def self.create_search_command(algo, id) # System command cmd = "" + return cmd unless Quorum::SUPPORTED_ALGORITHMS.include?(algo) - if Quorum::BLAST_ALGORITHMS.include?(algo) + case + when Quorum::BLAST_ALGORITHMS.include?(algo) search = File.join(Quorum.blast_bin, "search") cmd << "#{search} -l #{Quorum.blast_log_dir} " << "-m #{Quorum.blast_tmp_dir} -b #{Quorum.blast_db} " << "-t #{Quorum.blast_threads} " else