aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorpjotrp2016-02-24 11:49:14 +0000
committerPjotr Prins2016-04-20 09:22:17 +0000
commit1e9d7476697bf8b60ab1004f25b295f81d94de49 (patch)
tree6ceccc7ac53b2b66e39d6fe853c7a72a02edd550 /wqflask
parentc5dbe982272ef95c6598c36172444b1e8263c01a (diff)
downloadgenenetwork2-1e9d7476697bf8b60ab1004f25b295f81d94de49.tar.gz
When a sample does not exist we should not set sample_data to None. Better to leave it out so it never gets processed again.
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/correlation/show_corr_results.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index 06b4860e..dd661092 100755
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -708,14 +708,11 @@ class CorrelationResults(object):
for sample in sample_names:
if sample not in excluded_samples:
- print("Looking for",sample,"in",start_vars)
+ # print("Looking for",sample,"in",start_vars)
value = start_vars.get('value:' + sample)
if value:
if not value.strip().lower() == 'x':
self.sample_data[str(sample)] = float(value)
- else:
- self.sample_data[str(sample)] = None
-
##XZ, 12/16/2008: the input geneid is of mouse type
#def checkForLitInfo(self,geneId):