On 12/28/18 4:43 PM, Spencer Trinh wrote: > I still don't understand. If I use mol.write, I can only do one at a time > right?Do I just loop mol.write and return the result at end or something ?
Yes. Collect them into an array of SVG strings. I'd probably try to render them in a template as <img src="data:image/svg+xml,{{ svg_string }}"> or something. Maybe inside <div>s or <table> cells. You'll have to play with it. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss