diff options
author | Pjotr Prins | 2016-05-29 17:20:20 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-05-29 17:20:20 +0000 |
commit | 4b083f2cdfa493f7b2ccc3c30cc5bb6cad694d3a (patch) | |
tree | c2c2503d88868f13b06dd66328720486e72f647a /wqflask/utility/webqtlUtil.py | |
parent | 33d817c81b4b22bc051dbde2b26c5d4de028369e (diff) | |
parent | 0d22d3bc72cfc35cb23efce3d1687477880a5b3e (diff) | |
download | genenetwork2-4b083f2cdfa493f7b2ccc3c30cc5bb6cad694d3a.tar.gz |
Merge branch 'master' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/utility/webqtlUtil.py')
-rwxr-xr-x | wqflask/utility/webqtlUtil.py | 2 |
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 |