PS. As synchronisity would have it, one of my users needed to generate an SVG from a smiles string (copied from CAS) today and got a "scrambled egg" depiction similar to what I reported back in June ("Broken svg" posts).
She then found a smiles -> sdf converter online (cactvs), generated an svg from resulting sdf, and got a decent picture. So it looks like for at least inchi and smi formats there's something wrong with pybel.readstring(...) -> mol.write( format = "svg", ... ) -- I get messed up depictions and even a segfault on D-alanine. Whereas pybel.readfile( "sdf", ... ) -> mol.write( format = "svg", ... ) works fine for the same molecules. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss