aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorDannyArends2015-10-08 11:42:27 +0200
committerDannyArends2015-10-08 11:42:27 +0200
commitbde835abcd76b495da82b4e107ac5e20e5663e05 (patch)
treee7e15ea28c377665e8b8e7e5d28850c7e40769bb /wqflask
parent8f25786a98447039362f74b8a37dbeacf5f07156 (diff)
downloadgenenetwork2-bde835abcd76b495da82b4e107ac5e20e5663e05.tar.gz
Using the correct NA from Rpy2
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/wgcna/wgcna_analysis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/wgcna/wgcna_analysis.py b/wqflask/wqflask/wgcna/wgcna_analysis.py
index ba806b6d..a714319d 100644
--- a/wqflask/wqflask/wgcna/wgcna_analysis.py
+++ b/wqflask/wqflask/wgcna/wgcna_analysis.py
@@ -106,7 +106,7 @@ class WGCNA(object):
print "PowerEstimate: {}".format(self.sft[0])
self.results['PowerEstimate'] = self.sft[0]
- if self.sft[0][0] == "NA":
+ if self.sft[0][0] is ri.NA_Integer:
print "No power is suitable for the analysis, just use 1"
self.results['Power'] = 1 # No power could be estimated
else: