Skip to content
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

IDCodeParser(true) and coordinates #66

Open
lpatiny opened this issue Oct 1, 2021 · 1 comment
Open

IDCodeParser(true) and coordinates #66

lpatiny opened this issue Oct 1, 2021 · 1 comment

Comments

@lpatiny
Copy link

lpatiny commented Oct 1, 2021

@thsa When I create a molecule from IDCode using IDCodeParser(true); and I generate a molfile, the molfile does not contains atom coordinates.

It seems to me that the main difference between true and false in IDCodeParser is that you can recreate (or not) an idCode using 'getIDCode()' and that if you would like to have coordinates you need to inventCoordinates.

Maybe the comment in the following code could be more clear:

https://github.com/Actelion/openchemlib/blob/master/src/main/java/com/actelion/research/chem/IDCodeParser.java#L8-L15

@thsa
Copy link
Contributor

thsa commented Oct 1, 2021 via email

targos added a commit to cheminfo/openchemlib-js that referenced this issue Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants