]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed bug in find_mids
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 2 Nov 2010 13:36:54 +0000 (13:36 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 2 Nov 2010 13:36:54 +0000 (13:36 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1155 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/find_mids

index de00e84acaedeb8ef8c3c1736873c07e076b5d9c..b02048b1d73938be770b19d0fd3615ad34729ff0 100755 (executable)
@@ -91,7 +91,7 @@ mids.each_with_index do |mid, i|
   if count_hash[mid] > 0
     record = {}
     record[:REC_TYPE]  = "MID"
-    record[:MID_NUM]   = i
+    record[:MID_NUM]   = i + 1
     record[:MID_COUNT] = count_hash[mid]
     record[:MID_SEQ]   = mid
     bp.puts record