> Starting from a pybel.Atom, it seems I have to do > a.OBAtom.GetResidue().IsHetAtom(a.OBAtom)
Yes, it seems like it's asking for a shortcut. If you're willing to go through Git, I'm about to push a new method to atom.h which will then propagate through the SWIG bindings to Python. bool IsHetAtom() { if (_residue == NULL) return false; else return _residue->IsHetAtom(this); } Thanks for the suggestion, -Geoff ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss