diff options
author | BonfaceKilz | 2021-05-19 22:00:30 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-05-20 23:25:59 +0300 |
commit | 24fa8700fdcb1338a8e05283b63bb282a8c96a8b (patch) | |
tree | 0716cf07c07fe903cb28348459597751c7161ed8 /gn3/db | |
parent | 6556efbaeba3a49de8d821de30d723a965ef4ada (diff) | |
download | genenetwork3-24fa8700fdcb1338a8e05283b63bb282a8c96a8b.tar.gz |
db: phenotypes: Map a table to it's relevant dict mapping
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/phenotypes.py | 5 |
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, |