aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2023-11-29 21:19:54 +0000
committerzsloan2023-11-29 21:19:54 +0000
commitbcf3d7701da7879096de4c628b8890c602a26dbe (patch)
tree34565547242f3f684929324864290256b5b7bd11
parentf7ddb2825c461586297d7be2755e21829298ac73 (diff)
downloadgenenetwork2-bcf3d7701da7879096de4c628b8890c602a26dbe.tar.gz
Remove set operator when fetching correlation metadata
I'm not sure why this was introduced in the first place, but it appears to cause an issue where a semicolon is displayed in the description even when there's no probe target description (and removing it doesn't seem to cause any problems)
-rw-r--r--wqflask/wqflask/correlation/show_corr_results.py2
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 b785fe64..35cb50b8 100644
--- a/wqflask/wqflask/correlation/show_corr_results.py
+++ b/wqflask/wqflask/correlation/show_corr_results.py
@@ -185,7 +185,7 @@ def generate_table_metadata(all_traits, dataset_metadata, dataset_obj):
return jsonable(target_trait_ob, dataset_obj)
metadata = [__fetch_trait_data__(trait, dataset_obj) for
- trait in (all_traits ^ dataset_metadata.keys())]
+ trait in (all_traits)]
return (dataset_metadata | ({str(trait["name"]): trait for trait in metadata}))