aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/webqtlUtil.py
diff options
context:
space:
mode:
authorPjotr Prins2016-05-29 17:20:20 +0000
committerPjotr Prins2016-05-29 17:20:20 +0000
commit4b083f2cdfa493f7b2ccc3c30cc5bb6cad694d3a (patch)
treec2c2503d88868f13b06dd66328720486e72f647a /wqflask/utility/webqtlUtil.py
parent33d817c81b4b22bc051dbde2b26c5d4de028369e (diff)
parent0d22d3bc72cfc35cb23efce3d1687477880a5b3e (diff)
downloadgenenetwork2-4b083f2cdfa493f7b2ccc3c30cc5bb6cad694d3a.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2
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