Hello

I have a question about cmd.quit() behavior.
here goes simplest example:
-----------------------------------------------------
import __main__
__main__.pymol_argv = [ 'pymol', '-qx' ]

import pymol
pymol.finish_launching()

from pymol import cmd

raw_input("type something")
cmd.quit()
print "finfished"
----------------------------------------------------
cmd.quit() kills the whole program, not just PyMol's window.
i.e. "finished" is never printed.
Is it possible somehow to close only PyMol without interrupting the program?
 
What I want to be able to do in general is to launch PyMol from my program, 
plot some data then close PyMol. Then launch PyMol again if I need to plot 
some things again, plot, close, and so on.  All these things related to PyMol 
are separated in a class. Calling cmd.quit() simply ruins the whole program.

Pymol ver. 20beta I think (latest from CVS)

Help is really appreciated
Thanks
    Dmitriy

Reply via email to