Closed andcastillo closed 8 years ago
/cc @thsa
addImplicitHydrogens() I don't know. I assume it is an JavaScript method only. However, if it does what I assume (converting implicit into explicit hydrogens) then removeExplicitHydrogens(); is what you are looking for.
Thomas
On Thu, Aug 18, 2016 at 6:41 PM, Michaël Zasso notifications@github.com wrote:
/cc @thsa https://github.com/thsa
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cheminfo/openchemlib-js/issues/43#issuecomment-240782821, or mute the thread https://github.com/notifications/unsubscribe-auth/AJpSBhCw3r29zuPgRXL1dGokw6AbgThLks5qhItFgaJpZM4JnrFD .
The information of this email and in any file transmitted with it is strictly confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any copying, distribution or any other use of this email is prohibited and may be unlawful. In such case, you should please notify the sender immediately and destroy this email. The content of this email is not legally binding unless confirmed by letter. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of the sender's company.
addImplicitHydrogens comes from the here: https://github.com/Actelion/openchemlib/blob/1f049dc93bfad507fae7ba425a86b95c5da932ca/src/main/java/com/actelion/research/chem/contrib/HydrogenHandler.java#L22
assuming this was answered. Thanks, Thomas!
Sorry, I forget to answer and thank. It is just that we need to add removeExplicitHydrogens() in our documentation.
How can I get a molfile without the trivial hydrogens? In other words, how can I revert the addImplicitHydrogens effect?