diff options
author | zsloan | 2021-12-23 18:54:16 +0000 |
---|---|---|
committer | zsloan | 2021-12-23 13:04:38 -0600 |
commit | 8892fd1826925a5d85ae8a966bb484365282d992 (patch) | |
tree | 77ca86dec05fcdc0f6360a5cbc8b7fd620121f56 | |
parent | b8261fdf3775f2e6f9496f5b33ea002e30fc9f67 (diff) | |
download | genenetwork2-8892fd1826925a5d85ae8a966bb484365282d992.tar.gz |
Set new_traits_metadata so caching is used (previously was always an empty dict)
-rw-r--r-- | wqflask/wqflask/correlation/show_corr_results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py index 2c820658..4d2ac9ff 100644 --- a/wqflask/wqflask/correlation/show_corr_results.py +++ b/wqflask/wqflask/correlation/show_corr_results.py @@ -101,11 +101,11 @@ def correlation_json_for_table(correlation_data, this_trait, this_dataset, targe target_trait = dataset_metadata.get(trait_name) if target_trait is None: - target_trait_ob = create_trait(dataset=target_dataset_ob, name=trait_name, get_qtl_info=True) target_trait = jsonable(target_trait_ob, target_dataset_ob) + new_traits_metadata[trait_name] = target_trait if target_trait['view'] == False: continue results_dict = {} |