On Sep 15, 2011, at 8:33 AM, Noel O'Boyle wrote: > I understand what you're saying, but that is on purpose. The library > API is geared towards converting files, rather than returning string > representations for further processing.
There is, of course OBConversion::WriteString(&mol, true), which trims any final whitespace (including newlines): http://openbabel.org/api/2.3/classOpenBabel_1_1OBConversion.shtml#a18ce8681792d689dab8172a511c5a996 Cheers, -Geoff ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss