diff mergeXenaMutation.py @ 41:9806198df91f

fix
author jingchunzhu
date Thu, 06 Aug 2015 00:27:05 -0700
parents 914bc8ee6222
children 1093078e7976
line wrap: on
line diff
--- a/mergeXenaMutation.py	Fri Jul 31 21:29:17 2015 -0700
+++ b/mergeXenaMutation.py	Thu Aug 06 00:27:05 2015 -0700
@@ -117,7 +117,7 @@
     sample = string.split(line,'\t')[0]
     if sample not in sampleDic:
       sampleDic[sample]=[]
-    if inFile not in sampleDic[sample]:
+    if label not in sampleDic[sample]:
       sampleDic[sample].append(label)
   fin.close()
   return