diff options
author | BonfaceKilz | 2021-05-19 22:00:30 +0300 |
---|---|---|
committer | zsloan | 2021-06-18 22:08:04 +0000 |
commit | d7571e3c30aa7b1f312fcf975e7336b9f2912709 (patch) | |
tree | e6e4780fcfd947ff7ac26ce7bc1c9785972d4cf3 /gn3 | |
parent | 5c48d14d95b46caa10bcdbd80aec1ae04ec7f225 (diff) | |
download | genenetwork3-d7571e3c30aa7b1f312fcf975e7336b9f2912709.tar.gz |
db: phenotypes: Map a table to it's relevant dict mapping
Diffstat (limited to 'gn3')
-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, |