diff options
author | pjotrp | 2016-02-24 11:49:14 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-04-20 09:22:17 +0000 |
commit | 1e9d7476697bf8b60ab1004f25b295f81d94de49 (patch) | |
tree | 6ceccc7ac53b2b66e39d6fe853c7a72a02edd550 /wqflask | |
parent | c5dbe982272ef95c6598c36172444b1e8263c01a (diff) | |
download | genenetwork2-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-x | wqflask/wqflask/correlation/show_corr_results.py | 5 |
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): |