aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/webqtlUtil.py
diff options
context:
space:
mode:
authorzsloan2016-05-26 22:22:56 +0000
committerzsloan2016-05-26 22:22:56 +0000
commitbc5fa76c3005dded18c6c974b3c6a028094adff7 (patch)
tree594b6875c480167f20a07a8e18a03527c8235292 /wqflask/utility/webqtlUtil.py
parent32f53c957b0aa71c01077bd243bdb693e04b368e (diff)
parent0d590051ce073a169295382e5adac34cc803e5ac (diff)
downloadgenenetwork2-bc5fa76c3005dded18c6c974b3c6a028094adff7.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2 into development
Diffstat (limited to 'wqflask/utility/webqtlUtil.py')
-rwxr-xr-xwqflask/utility/webqtlUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/webqtlUtil.py b/wqflask/utility/webqtlUtil.py
index f842dde0..1108614b 100755
--- a/wqflask/utility/webqtlUtil.py
+++ b/wqflask/utility/webqtlUtil.py
@@ -509,7 +509,7 @@ def calCorrelationRank(xVals,yVals,N):
j = 0
for i in range(len(xVals)):
- if xVals[i]!= None and yVals[i]!= None:
+ if (xVals[i]!= None and yVals[i]!= None) and (xVals[i] != "None" and yVals[i] != "None"):
XX.append((j,xVals[i]))
YY.append((j,yVals[i]))
j = j+1