molconvert -m

User 37c69cc8fe

14-02-2011 13:35:42

Could someone please show an example for "molconvert -m"? Specifically, how do the multiple output files get named?


What I'm really trying to do is to convert structures from an sdf to a series of png images. I know that I should use the real API or at least write a script to call molconvert for each mol file (as inefficient as that may be) but I wanted to see if the "-m" flag could somehow do the work for me.

ChemAxon 7c2d26e5cf

14-02-2011 14:07:47

If you type this command:


molconvert png 2.smiles -o output.png -m

the result is:


output1.png
output2.png

User 37c69cc8fe

14-02-2011 14:20:47










Tamas wrote:

molconvert png 2.smiles -o output.png -m


Wonderful and rather obvious. I tried to use the "-m" in place of the "-o" and that printed to the command-line, exactly as it should.


Would be nice if the files could be named according to some field in the file but that's easy enough to fix with a little script.


Thanks for the very fast and helpful reply!