X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=code_ruby%2Flib%2Fmaasha%2Fusearch.rb;h=837585010f41fda3d18ea91292bdef452ba3076d;hb=c4b49c5ce1ed3b46ae37e6ebd73c21d67d6d4810;hp=2a3365b73cec139ace7e204cd1779867a6befae1;hpb=5a9b7c80e4e4428e404575ed3c0290cde15a7402;p=biopieces.git diff --git a/code_ruby/lib/maasha/usearch.rb b/code_ruby/lib/maasha/usearch.rb index 2a3365b..8375850 100644 --- a/code_ruby/lib/maasha/usearch.rb +++ b/code_ruby/lib/maasha/usearch.rb @@ -78,8 +78,8 @@ class Usearch def usearch @command << "usearch --query #{@infile} --db #{@options[:database]} --userout #{@outfile}" @command << "--userfields target+tloz+thiz+query+bits+strand" - @command << "--id #{@options[:identity]}" if @options.has_key? :identity - @command << "--evalue #{@options[:e_val]}" if @options.has_key? :e_val + @command << "--id #{@options[:identity]}" if @options[:identity] + @command << "--evalue #{@options[:e_val]}" if @options[:e_val] @command << "--rev" execute