]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/find_genes
fixed type cast bug
[biopieces.git] / bp_bin / find_genes
index f0d64c8365300b3c970dd43fd6f6f7c1ed67f9e1..367b9766763d85fe21dc9b8a080c764e3b168926 100755 (executable)
@@ -34,8 +34,8 @@ require 'fasta'
 require 'prodigal'
 
 casts = []
-casts << {:long=>'full', :short=>'f', :type=>'flag',      :mandatory=>false, :default=>nil,      :allowed=>nil,           :disallowed=>nil}
-casts << {:long=>'full', :short=>'p', :type=>'procedure', :mandatory=>true,  :default=>'single', :allowed=>'single,meta', :disallowed=>nil}
+casts << {:long=>'full',      :short=>'f', :type=>'flag',   :mandatory=>false, :default=>nil,      :allowed=>nil,           :disallowed=>nil}
+casts << {:long=>'procedure', :short=>'p', :type=>'string', :mandatory=>true,  :default=>'single', :allowed=>'single,meta', :disallowed=>nil}
 
 bp = Biopieces.new