diff options
author | BonfaceKilz | 2022-03-01 16:31:07 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-12 15:33:09 +0300 |
commit | 4b156c19afbe91f9feb5a65e263b771fbf6502cc (patch) | |
tree | d765c01e1e6ca9b629a455fd77766b5a4e75e10d /tests/unit/test_commands.py | |
parent | b6ecd0888ccf51b1dd2bfcbbbc4e03b1c5a92699 (diff) | |
download | genenetwork3-4b156c19afbe91f9feb5a65e263b771fbf6502cc.tar.gz |
Fetch id's separately for the insertion edge-case
* gn3/db/sample_data (get_sample_data_ids): Add an extra condition that caters
for inserts: during inserts, joins won't work when fetching the strain_id,
publishdata_id, and strain_name. In this case, just create 2 separate queries
to do that work.
Diffstat (limited to 'tests/unit/test_commands.py')
0 files changed, 0 insertions, 0 deletions