aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/db/phenotypes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn3/db/phenotypes.py b/gn3/db/phenotypes.py
index e97322a..f6ca944 100644
--- a/gn3/db/phenotypes.py
+++ b/gn3/db/phenotypes.py
@@ -79,6 +79,11 @@ publish_x_ref_mapping = {
"comments": "comments",
}
+TABLEMAP = {
+ "Phenotype": phenotype_column_mapping,
+ "PublishXRef": publish_x_ref_mapping,
+}
+
def update_phenotype(conn: Any,
data: Phenotype,