launch_viewer2.py (pymol-v1.8.6.0.tar.bz2) | : | launch_viewer2.py (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
# Tell PyMOL we don't want any GUI features and | # Tell PyMOL we don't want any GUI features and | |||
# that we don't even want the command line. | # that we don't even want the command line. | |||
import __main__ | ||||
__main__.pymol_argv = [ 'pymol', '-qxif', '0' ] | ||||
# Importing the PyMOL module will create the window. | ||||
import pymol | import pymol | |||
pymol.finish_launching([ 'pymol', '-qxif', '0' ]) | ||||
# Call the function below before using any PyMOL modules. | ||||
pymol.finish_launching() | ||||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 0 lines changed or added |