From: Geoffrey H. <ge...@ge...> - 2006-01-08 03:26:36
|
On Jan 4, 2006, at 9:21 AM, Noel O'Boyle wrote: > I am trying to read a PDB file into an OBMol with Python but > without any > luck. Weird. I've been working on making up a test suite in Perl, and ReadFile works fine there (well, at least on OS X). I'll check Python soon. > I am also having difficulty finding out (from within Python) what file > formats are supported. ... > However, there is no openbabel.Formatpos. Is there any other way of > doing this? Not at the moment. Unfortunately, SWIG doesn't seem to have a good way to wrap something like Formatpos. Perhaps for the sake of scripting wrappers, we could add to OBConversion to return a list of format strings (e.g., as a vector of strings)? I'm assuming that would work for you Noel, yes? Cheers, -Geoff |