aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/wqflask/wqflask/correlation/show_corr_results.py b/wqflask/wqflask/correlation/show_corr_results.py
index f5fdd9b3..4910b0e0 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -93,8 +93,7 @@ def correlation_json_for_table(correlation_data, this_trait, this_dataset, targe
new_traits_metadata = {}
- (file_path, dataset_metadata) = fetch_all_cached_metadata(
- target_dataset['name'])
+ dataset_metadata = correlation_data["traits_metadata"]
for i, trait_dict in enumerate(corr_results):
trait_name = list(trait_dict.keys())[0]
@@ -187,10 +186,6 @@ def correlation_json_for_table(correlation_data, this_trait, this_dataset, targe
results_list.append(results_dict)
- cache_new_traits_metadata(dataset_metadata,
- new_traits_metadata,
- file_path)
-
return json.dumps(results_list)