Open reskyner opened 4 years ago
This problem re-occurred during testing of: (https://github.com/m2ms/fragalysis-frontend/issues/407). This will solution will be tried in the new upload target API in the fragalysis backend
If the solution works, then it can also be incorporated here in the loader - or if the new loader API is really good, maybe we won't need to!
A fix for this problem in the new data loader is described in the fragalysis backend issue: https://github.com/duncanpeacock/fragalysis-backend/issues/21 The fix in the code for the fragalysis-backend needs to be also made in the loader code.
When the loader is run to update the data for an existing target, the links to inspiration fragments in the ComputedMolecule computed_inspirations field are lost.
Potential solution