missing setRadical, setExplictValence from python binding

28 views
Skip to first unread message

Ferenc Szalai

unread,
Sep 8, 2012, 9:25:23 AM9/8/12
to indigo-...@googlegroups.com
Hi

- Is there any reason why the atom.setRadical and
atom.setExplicitValence functions are missing from python binding
while resetRadical and resetExplicitValence are available?
- Is there a way to set radical and atom valence using the current API?

--

Regards,
Ferenc

Mikhail Rybalkin

unread,
Sep 10, 2012, 4:09:18 PM9/10/12
to indigo-...@googlegroups.com
Hello Ferenc,

The only reason that they are missing is that we didn't implement them. I think we can make a release with this methods added on Wednesday.

Thank you for your request!

With best regards,
Mikhail

Mikhail Rybalkin

unread,
Sep 13, 2012, 4:23:00 PM9/13/12
to indigo-...@googlegroups.com
Hello Ferenc,

We added these methods to the latest Indigo version 1.1.4:
Code snippet:
  molecule.getAtom(0).setRadical(Indigo.DOUBLET);
  int radical =  molecule.getAtom(0).radical();
  atom.setExplicitValence(5);

Thank you for suggestion!

With best regards,
Mikhail
Reply all
Reply to author
Forward
0 new messages