]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed typo in replace_vals
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 15 Dec 2011 10:13:38 +0000 (10:13 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 15 Dec 2011 10:13:38 +0000 (10:13 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1712 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/replace_vals

index 3290010768567150b2a30e47d9f409bcefef2c14..8ad373e8eeb88b1bd71708a7cbf4775d7886e401 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