From 413244dffca4220f2e91422ae813dc95da9118a6 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Thu, 20 May 2021 12:46:37 +0300 Subject: db: phenotypes: Rename phenotype_column_mapping --- gn3/db/phenotypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3') 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, } -- cgit v1.2.3