diff options
author | BonfaceKilz | 2022-03-10 17:18:57 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-12 15:33:09 +0300 |
commit | dfa6a6106718f0c88f1b09aedae42eb31aafbb6c (patch) | |
tree | a15b5f73c674670f4d1562f6e6f2e1d02ece7b2c /gn3/commands.py | |
parent | 7641343e90f9a7f03cf0baf30818675efac6d7f3 (diff) | |
download | genenetwork3-dfa6a6106718f0c88f1b09aedae42eb31aafbb6c.tar.gz |
Update how data is updated by re-using existing functions
* gn3/db/sample_data.py (get_sample_data_ids): Re-use "delete_sample_data" and
"insert_sample_data" when updating data; and also add logic for updating
modified data.
* tests/unit/db/test_sample_data.py: Add tests for the above.
Diffstat (limited to 'gn3/commands.py')
0 files changed, 0 insertions, 0 deletions