aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-10-22 02:12:54 +0000
committerzsloan2021-10-22 02:12:54 +0000
commit2d0c4fa72757674fa5e526696c66c5b7b6b6f983 (patch)
tree0bdfc611aed6989c46192a7598106f892004f158 /wqflask
parentc16e361c402028c02421644c652c42c641931ddf (diff)
downloadgenenetwork2-2d0c4fa72757674fa5e526696c66c5b7b6b6f983.tar.gz
Possible fix for the weird inconsistent correlation key error for strain BXD073bxBXD077F1
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/correlation_gn3_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/correlation_gn3_api.py b/wqflask/wqflask/correlation/correlation_gn3_api.py
index a18bceaf..1e3a40f2 100644
--- a/wqflask/wqflask/correlation/correlation_gn3_api.py
+++ b/wqflask/wqflask/correlation/correlation_gn3_api.py
@@ -65,7 +65,7 @@ def process_samples(start_vars, sample_names, excluded_samples=None):
excluded_samples = ()
sample_vals_dict = json.loads(start_vars["sample_vals"])
for sample in sample_names:
- if sample not in excluded_samples:
+ if sample not in excluded_samples and sample in sample_vals_dict:
val = sample_vals_dict[sample]
if not val.strip().lower() == "x":
sample_data[str(sample)] = float(val)