Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PyMOL(TM) 2.3.0 - Incentive Product
- Copyright (C) Schrodinger, LLC
- This Executable Build integrates and extends Open-Source PyMOL.
- Detected OpenGL version 4.6. Shaders available.
- Detected GLSL version 4.60.
- OpenGL graphics engine:
- GL_VENDOR: NVIDIA Corporation
- GL_RENDERER: GeForce GTX 960M/PCIe/SSE2
- GL_VERSION: 4.6.0 NVIDIA 419.35
- License Expiry date: 17-apr-2021
- Detected 8 CPU cores. Enabled multithreaded rendering.
- PyMOL>python
- PyMOL>import os
- 1:import os
- PyMOL>import threading
- 2:import threading
- PyMOL>import time
- 3:import time
- PyMOL>from pymol import cmd
- 4:from pymol import cmd
- PyMOL>def _auto_save():
- 5:def _auto_save():
- PyMOL>filename = os.path.expanduser(time.strftime('~/pymol-auto-save-%s.pse'))
- 6: filename = os.path.expanduser(time.strftime('~/pymol-auto-save-%s.pse'))
- PyMOL>while True:
- 7: while True:
- PyMOL>time.sleep(60) # interval in seconds
- 8: time.sleep(60) # interval in seconds
- PyMOL>cmd.save(filename, quiet=1)
- 9: cmd.save(filename, quiet=1)
- 10:_auto_save = threading.Thread(target=_auto_save)
- 11:_auto_save.setDaemon(1)
- 12:_auto_save.start()
- PyMOL>python end
- PyMOL>python end
- Exception in thread Thread-3:
- Traceback (most recent call last):
- File "C:\Users\jason\PyMOL\lib\threading.py", line 917, in _bootstrap_inner
- self.run()
- File "C:\Users\jason\PyMOL\lib\threading.py", line 865, in run
- self._target(*self._args, **self._kwargs)
- File "toplevel", line 6, in _auto_save
- ValueError: Invalid format string
- Executive: Loading version 2.001000 session...
- Session was saved with: viewport 1700, 750
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement