Bugs item #3298707, was opened at 2011-05-07 14:41 Message generated for change (Tracker Item Submitted) made by chrismorl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3298707&group_id=40728
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Pybel Group: 2.3.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Chris Morley (chrismorl) Assigned to: Noel O'Boyle (baoilleach) Summary: Unable to open gzipped files on Windows from python Initial Comment: Adrià Cereto-Massagué reported on the OpenBabel-scripting mailing list that gzipped files could not be opened with the Python bindings on Windows, although they could under linux. The following gives an error message of some kind: >>> mols = pybel.readfile(\'sdf\',\'test_file.sdf.gz\') >>> mols.next().title This problem seems to be specific to the Python bindings: all the gzipped files I have tried have been read properly with obabel/GUI in Windows. (It is writing compressed files on Windows that does not work properly.) However the file http://dalkescientific.com/writings/benzodiazepine.sdf.gz surprisingly works for me in the above Python test. The attached files ( compressed with 7z) with Windows or UNIX line-endings both fail. OB 2.3.0 Pybel 1.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3298707&group_id=40728 ------------------------------------------------------------------------------ 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-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel