diff options
author | zsloan | 2023-04-06 18:50:52 +0000 |
---|---|---|
committer | zsloan | 2023-04-06 18:54:08 +0000 |
commit | 8cf19b761c036f94e20c1ba7e214134173d9484c (patch) | |
tree | 4bb10adf01426014401ca1fd1a449196188eb51b /wqflask | |
parent | cee15ae774691f706cf2de31e8dadba7d2d4930a (diff) | |
download | genenetwork2-8cf19b761c036f94e20c1ba7e214134173d9484c.tar.gz |
Commit updates for phenotype/publication metadata
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 76e3184d..28606c8b 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -274,6 +274,7 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success") data=Phenotype(**phenotype_), where=Phenotype(id_=data_.get("phenotype-id")), ) + conn.commit() diff_data = {} if updated_phenotypes: diff_data.update( @@ -322,6 +323,7 @@ View the diffs <a href='{url}' target='_blank'>here</a>", "success") data=Publication(**publication_), where=Publication(id_=data_.get("old_id_")), ) + conn.commit() if updated_publications: diff_data.update( |