-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataSGroups #18
Comments
I can reproduce this using test_IXA_DataSGroup.mol.txt JnaInchi.molToInchi(molStr).getMessage() gives the following message from the IXA API: In the C code for the IXA API, IXA_MOL_ReadMolfile calls
which is hard coded to attempt to read polymer data from the S-groups (the treat_polymers flag). My initial thoughts are that, at least using the IXA API, that there isn't an elegant fix as IXA_MOL_ReadMolfile doesn't give any control of the parameters it's sending to ReadMolfile. I'm slightly surprised that an uninterpretable S-group is treatd as an error rather than a warning. |
I think it would be quite straightforward for me to use MakeINCHIFromMolfileText from the "classic" API instead, just did a quick prototype. Am I right in saying that the expected behaviour is, for the default InchiOptions to give: Adding the flag InchiFlag.Polymers gives no InChI, a status of Error and the following explanation: |
I have an issue with DataSGroups. In my environment (accessing inchi.dll via old C interface) I always get valid output. With jna-inchi, I get only valid output without DataSGroups. Is this an issue on my side or can you reproduce this behaviour?
test_IXA_DataSGroup.mol.txt
test_IXA.mol.txt
The text was updated successfully, but these errors were encountered: