aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-04-29 14:17:18 +0000
committerzsloan2022-04-29 14:17:18 +0000
commit2435e2ee75175d292d17ed9ad69a11c51e2cd71d (patch)
treee3477797ace9f599befda368d9e29657e492484c
parent46160379cad63ba95a7f9fe76ce8482d2d1016c9 (diff)
downloadgenenetwork2-2435e2ee75175d292d17ed9ad69a11c51e2cd71d.tar.gz
Set headers since it seems to have not been set before getting referenced
-rw-r--r--wqflask/wqflask/metadata_edits.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py
index 7fa0b310..0b015b36 100644
--- a/wqflask/wqflask/metadata_edits.py
+++ b/wqflask/wqflask/metadata_edits.py
@@ -257,6 +257,7 @@ def update_phenotype(dataset_id: str, name: str):
)
diff_data = {}
with database_connection() as conn:
+ headers = get_case_attributes(conn).keys()
diff_data = remove_insignificant_edits(
diff_data=csv_diff(
base_csv=(