Closed marshalc closed 7 years ago
Working through the logic of this, realising that relinking may mean unlinking if a barcode is deleted; We don't account for samples being deleted from the WP7 data in the import - rather we assume it is cumulative. This means we're also doing a slower get_or_create() call in the import.
Smarter option is to:
Rework of the import process done. Tested CLI and UI paths. Of note (and obviously) the IDs that display in the Unmatched Samples report are ramping up dramatically.
Now to fix the save and relink process
Relink process working for all sample types
Add a method by which WP4 sample records are relinked to WP7 data when updated. Presently matching is only done when WP7 data is uploaded.