Bugs item #3054241, was opened at 2010-08-27 11:57
Message generated for change (Tracker Item Submitted) made by baoilleach
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3054241&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: File Translation
Group: 2.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Noel O'Boyle (baoilleach)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible fix to problems reading zipped files on Windows

Initial Comment:
A confab beta tester reports:
"When I input a gzipped file it only appears to read the first molecule.

This has happened to me in the past in my own code - when I call 
OBConversion::Read
with the second argument as a file stream it only reads the first molecule. The 
trick is to
set the input stream first, then call Read with just the single OBMol& argument.

It's a subtle one as it only shows up for zipped input formats, but it is to do 
with the fact
that when the stream argument is not null, it gets checked to see if it is 
zipped, and if
it has been checked before the Read simply returns false (to avoid repeated 
checking)."

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3054241&group_id=40728

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to