aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-05-20 12:46:37 +0300
committerzsloan2021-06-18 22:08:04 +0000
commitc0b617858f36de8e1c15172b36f2a17742c1658c (patch)
tree978882a1aa1d8bc94bf10429de0f6d6a267c293b
parent1965fef7170a5de14988bc672424be2be6884ec2 (diff)
downloadgenenetwork3-c0b617858f36de8e1c15172b36f2a17742c1658c.tar.gz
db: phenotypes: Rename phenotype_column_mapping
-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,
}