diff options
| author | Frederick Muriuki Muriithi | 2025-06-26 08:47:54 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-06-26 08:47:54 -0500 |
| commit | 29ad9b49845118b1ab04d33776c7b6b092997f0a (patch) | |
| tree | 08ff94eec60af250bc632731aa560eea7c82d5b5 | |
| parent | 829e1c3ecfe368f0df411790f5642a3a29a0046c (diff) | |
| download | gn-uploader-29ad9b49845118b1ab04d33776c7b6b092997f0a.tar.gz | |
Replace first field header with standard "id" header.
| -rw-r--r-- | scripts/load_phenotypes_to_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
