aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/diff.py
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-01 16:31:07 +0300
committerBonfaceKilz2022-03-12 15:33:09 +0300
commit4b156c19afbe91f9feb5a65e263b771fbf6502cc (patch)
treed765c01e1e6ca9b629a455fd77766b5a4e75e10d /gn3/computations/diff.py
parentb6ecd0888ccf51b1dd2bfcbbbc4e03b1c5a92699 (diff)
downloadgenenetwork3-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 'gn3/computations/diff.py')
0 files changed, 0 insertions, 0 deletions