diff options
author | zsloan | 2016-05-26 22:21:52 +0000 |
---|---|---|
committer | zsloan | 2016-05-26 22:21:52 +0000 |
commit | 2ccc9a69fa77e8f4920c1726e84d7e4acfb496b2 (patch) | |
tree | 1a7893258fdd54b629bea88787a4a638f8ec0538 /wqflask/utility/webqtlUtil.py | |
parent | f8c89f7c24cbfcffdafd12ef2087f4de598ed4bd (diff) | |
parent | 0d590051ce073a169295382e5adac34cc803e5ac (diff) | |
download | genenetwork2-2ccc9a69fa77e8f4920c1726e84d7e4acfb496b2.tar.gz |
Merge branch 'master' of https://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 |