Hi Pymolers, I have some Python script that I would like to run on Pymol in the batch mode. To do this, I have written a "startup.py" script which I call from Python. The script is supposed to launch Pymol and run it in the batch mode with the "work.py" script. However, once I execute it, Pymol quits after spawning.
python startup.py >PyMOL: normal program termination Startup.py contents are below: import pymol from pymol import * pymol.pymol_argv = ['pymol','-cr', 'work.py'] pymol.finish_launching() Any suggestions will be appreciated! Vitaly ------------------------------------------------------------------------------ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net