aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-20 12:46:37 +0300
committerBonfaceKilz2021-05-20 23:25:59 +0300
commit413244dffca4220f2e91422ae813dc95da9118a6 (patch)
tree92d313be88d34c9b0ccbeb4d869dfc1a76e56f46 /gn3
parent26d3e0d3db944b9842419a6fdb56607400d3faff (diff)
downloadgenenetwork3-413244dffca4220f2e91422ae813dc95da9118a6.tar.gz
db: phenotypes: Rename phenotype_column_mapping
Diffstat (limited to 'gn3')
-rw-r--r--gn3/db/phenotypes.py4
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,
}