> I was writing an application in python which reads and writes some data > stored in gzipped sdf and mol2 files. These files are gzipped, and I can use > them directly with pybel.readfile in linux without problems with OB 2.3. > However, when I try the same on MS Windows with OB 2.3 and python 2.7.1, when > I try to read a sdf file I just get a warning like this:
There is no support for gzip on Windows -- the C++ code used for libz has a known bug. (Our intent is that we'll switch to the Boost::Iostreams, which offers a much more robust gzip and bzip2 implementation). Since you're accessing from Python, I'd suggest using Python to un-gzip and then read from that string using OBConversion::ReadString(). Hope that helps, -Geoff ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ OpenBabel-scripting mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-scripting
