Hi, I was wondering if there is currently a mechanism to read out and manipulate GAFF atom types. It looks to me that OBForceFieldGaff handles those types only internally while to the outside the internal force fields are presented.
for atom in ob.OBMolAtomIter(mol): idx = atom.GetIdx() # can only handle internal types? if idx == 24 or idx == 26: atom.SetType('nb') # warning that type can't be translated # output is interal types only? print idx, atom.GetType() Many thanks, Hannes. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss