aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorzsloan2016-05-26 22:21:52 +0000
committerzsloan2016-05-26 22:21:52 +0000
commit2ccc9a69fa77e8f4920c1726e84d7e4acfb496b2 (patch)
tree1a7893258fdd54b629bea88787a4a638f8ec0538 /wqflask/utility
parentf8c89f7c24cbfcffdafd12ef2087f4de598ed4bd (diff)
parent0d590051ce073a169295382e5adac34cc803e5ac (diff)
downloadgenenetwork2-2ccc9a69fa77e8f4920c1726e84d7e4acfb496b2.tar.gz
Merge branch 'master' of https://github.com/genenetwork/genenetwork2
Diffstat (limited to 'wqflask/utility')
-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