aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-08-20 17:44:48 +0000
committerzsloan2021-08-20 17:46:58 +0000
commitd4ce7c77f9cdd73516dba6f04f03ff38be8af0a4 (patch)
tree7df252682960adf3a64cb960a8b1eefdb0f62d23 /wqflask
parent0fb00c0ce2e0c668508859e056f1132d67ad9243 (diff)
downloadgenenetwork2-d4ce7c77f9cdd73516dba6f04f03ff38be8af0a4.tar.gz
Fix issue where attempting to get the diff of vals for Temp traits was causing an error
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index b0391914..957c34be 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -1024,7 +1024,8 @@ def loading_page():
start_vars['n_samples'] = n_samples
start_vars['vals_hash'] = generate_hash_of_string(str(sample_vals_dict))
- start_vars['vals_diff'] = get_diff_of_vals(sample_vals_dict, str(start_vars['trait_id'] + ":" + str(start_vars['dataset'])))
+ if start_vars['dataset'] != "Temp": # Currently can't get diff for temp traits
+ start_vars['vals_diff'] = get_diff_of_vals(sample_vals_dict, str(start_vars['trait_id'] + ":" + str(start_vars['dataset'])))
start_vars['wanted_inputs'] = initial_start_vars['wanted_inputs']