diff options
-rw-r--r-- | wqflask/wqflask/correlation/pre_computes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/pre_computes.py b/wqflask/wqflask/correlation/pre_computes.py index 55f25f0b..4244fcfb 100644 --- a/wqflask/wqflask/correlation/pre_computes.py +++ b/wqflask/wqflask/correlation/pre_computes.py @@ -47,7 +47,7 @@ def cache_compute_results(start_vars, results = json.load(json_handler) - if results.get(trait_name) is not None: + if results.get(trait_name) is None: results.update({trait_name: correlation_results}) json.dump(results, json_handler) |