about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/load_phenotypes_to_db.py2
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,