diff options
author | Alexander Kabui | 2021-11-11 20:32:13 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-11-11 20:32:13 +0300 |
commit | b4594a6f2dc5c0c0a8e62a327674126668391d6b (patch) | |
tree | c0be39861774e3ed59d7eea1155914d263449747 | |
parent | ca4a5fdda8a7225dc5bebc17c61837ba5373ec68 (diff) | |
download | genenetwork2-b4594a6f2dc5c0c0a8e62a327674126668391d6b.tar.gz |
minor fix for updating dict
-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) |