From 2435e2ee75175d292d17ed9ad69a11c51e2cd71d Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 29 Apr 2022 14:17:18 +0000 Subject: Set headers since it seems to have not been set before getting referenced --- wqflask/wqflask/metadata_edits.py | 1 + 1 file changed, 1 insertion(+) 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=( -- cgit v1.2.3