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
CanonicalRankAtoms doesn't output smiles atom orders #794
Comments
The SMILES output order is available from the property
|
I might go ahead and encapsulate this.
to make it more explicit. |
I'd rather add an extra argument to the SMiLES generation.
|
Hi Greg, Is Smiles generation has this extra argument specially for doRandom = True ? |
@thegodone : I'm afraid I don't understand the question |
I try your code and yes order change correctly with doRandom: |
Ah, you are asking if the extra argument has been added or not? |
CanonicalRankAtoms could be more useful if it output the "smiles" order (with perhaps, -1, for atoms that are not output in the smiles string like Hydrogens). The CanonicalRank is interesting, but it isn't very useful I think.
Currently, there is no simple way to write out coordinates for the canonicalized smiles string in the atom order of the string.
I would tend to think this is a bug, but it may be an enhancement.
The text was updated successfully, but these errors were encountered: