diff options
author | BonfaceKilz | 2021-05-20 12:46:37 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-05-20 23:25:59 +0300 |
commit | 413244dffca4220f2e91422ae813dc95da9118a6 (patch) | |
tree | 92d313be88d34c9b0ccbeb4d869dfc1a76e56f46 | |
parent | 26d3e0d3db944b9842419a6fdb56607400d3faff (diff) | |
download | genenetwork3-413244dffca4220f2e91422ae813dc95da9118a6.tar.gz |
db: phenotypes: Rename phenotype_column_mapping
-rw-r--r-- | gn3/db/phenotypes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/db/phenotypes.py b/gn3/db/phenotypes.py index 92d8e84..9e40692 100644 --- a/gn3/db/phenotypes.py +++ b/gn3/db/phenotypes.py @@ -32,7 +32,7 @@ class Phenotype: # Mapping from the Phenotype dataclass to the actual column names in the # database -phenotype_column_mapping = { +phenotype_mapping = { "id_": "id", "pre_pub_description": "Pre_publication_description", "post_pub_description": "Post_publication_description", @@ -110,7 +110,7 @@ publication_mapping = { TABLEMAP = { - "Phenotype": phenotype_column_mapping, + "Phenotype": phenotype_mapping, "PublishXRef": publish_x_ref_mapping, } |