From: Noel O'B. <noe...@ma...> - 2006-08-30 08:41:16
|
I think you are getting your wires crossed. The Python interface to OpenBabel is simply called the openbabel module. The pyopenbabel module is a wrapper around this, which although described on the web site (see Geoff's links below) is not included with the current version of OpenBabel. So, I think your question is: how do I use the DFS in OpenBabel? Unfortunately, the answer appears to be the same, as shown in this quote from Geoff's earlier email: > There are both DFS and BFS iterators in the 2.1 development code, > which incidentally is the only version with PyOpenBabel. So, DFS is not currently in OpenBabel. However, this does not stop you from writing one yourself if you are familiar with recursion. Otherwise, I'm afraid that you will have to wait until OpenBabel 2.1 is released, or else install the development version. Regards, Noel On Tue, 2006-08-29 at 21:04 -0400, Geoffrey Hutchison wrote: > On Aug 29, 2006, at 12:31 PM, priyashree saxena wrote: > > > Could you please tell me how exactly I could use DFS thats there in > > pyopenbabel. Or it would be great if you could direct me to the > > part of documentation which shows the syntax or the parameters that > > should be passed to DFS. Also could you also direct me to the > > documentation of pyopenbabel so that I know the functionalities I > > can make use in my code. > > Well, I didn't write pyopenbabel and the only documentation that I > know is: > http://openbabel.sourceforge.net/wiki/Python#The_pyopenbabel_module > http://openbabel.sourceforge.net/pyopenbabel.html > > I don't know how recent this is, so I don't know if it includes DFS > support. The openbabel python interface should. > > Cheers, > -Geoff > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > OpenBabel-scripting mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting |