From 29ad9b49845118b1ab04d33776c7b6b092997f0a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 26 Jun 2025 08:47:54 -0500 Subject: Replace first field header with standard "id" header. --- scripts/load_phenotypes_to_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py index 9a2971f..ae20bc1 100644 --- a/scripts/load_phenotypes_to_db.py +++ b/scripts/load_phenotypes_to_db.py @@ -126,7 +126,7 @@ def __build_dataitems__( for path in phenofiles) _linescontents = ( __row_to_dataitems__( - dict(zip(_headers, + dict(zip(("id",) + _headers[1:], __replace_na_strings__(line, control_data["na.strings"]))), dataidmap, pheno_name2id, -- cgit v1.2.3