]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/replace_vals
revamped find_adaptor and clip_adaptor
[biopieces.git] / bp_bin / replace_vals
index 8ad373e8eeb88b1bd71708a7cbf4775d7886e401..a8105598c0533d92a75438dc8c4227ced087353f 100755 (executable)
@@ -60,7 +60,7 @@ if options[:file]
         k      = fields[options[:search_col] - 1]
         v      = fields[options[:replace_col] - 1]
 
-        raise RuntimeError "duplicate key: #{k} found in file" if replace_hash.has_key? k
+        raise RuntimeError, "duplicate key: #{k} found in file" if replace_hash.has_key? k
 
         replace_hash[k] = v
       end