Closed GwennyGit closed 1 year ago
I investigated this problem further and realised the following two causes:
cv_notes_metab
seems to not recognise the InChI-Strings within the notes section of the model with the current implementation.get_set_of_curies
changes inchi:InChI=1S/
to inchi:InChI=1S:
. This is because the CURIs are checked and split to obtain a mapping from the database prefix to the corresponding local unique identifier, in this case, the InChI-String.
The bug After applying refineGEMs.polish to several models containing InChI-Strings in the annotations, I realised that COBRApy gave warnings that some of the URIs containing InChI-Strings were wrongly formatted. Checking out the files revealed that some InChI-String URIs only contained parts of the original InChI-String or in other cases instead of
inchi:InChI=1S/
the URI containedinchi:InChI=1S:
which is incorrect.