Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.63 KB | None | 0 0
  1.  PyMOL(TM) 2.3.0 - Incentive Product
  2.  Copyright (C) Schrodinger, LLC
  3.  
  4.  This Executable Build integrates and extends Open-Source PyMOL.
  5.  Detected OpenGL version 4.6. Shaders available.
  6.  Detected GLSL version 4.60.
  7.  OpenGL graphics engine:
  8.   GL_VENDOR:   NVIDIA Corporation
  9.   GL_RENDERER: GeForce GTX 960M/PCIe/SSE2
  10.   GL_VERSION:  4.6.0 NVIDIA 419.35
  11.  License Expiry date: 17-apr-2021
  12.  Detected 8 CPU cores.  Enabled multithreaded rendering.
  13. PyMOL>python
  14. PyMOL>import os
  15.     1:import os
  16. PyMOL>import threading
  17.     2:import threading
  18. PyMOL>import time
  19.     3:import time
  20. PyMOL>from pymol import cmd
  21.     4:from pymol import cmd
  22. PyMOL>def _auto_save():
  23.     5:def _auto_save():
  24. PyMOL>filename = os.path.expanduser(time.strftime('~/pymol-auto-save-%s.pse'))
  25.     6:    filename = os.path.expanduser(time.strftime('~/pymol-auto-save-%s.pse'))
  26. PyMOL>while True:
  27.     7:    while True:
  28. PyMOL>time.sleep(60) # interval in seconds
  29.     8:        time.sleep(60) # interval in seconds
  30. PyMOL>cmd.save(filename, quiet=1)
  31.     9:        cmd.save(filename, quiet=1)
  32.    10:_auto_save = threading.Thread(target=_auto_save)
  33.    11:_auto_save.setDaemon(1)
  34.    12:_auto_save.start()
  35. PyMOL>python end
  36. PyMOL>python end
  37. Exception in thread Thread-3:
  38. Traceback (most recent call last):
  39.   File "C:\Users\jason\PyMOL\lib\threading.py", line 917, in _bootstrap_inner
  40.     self.run()
  41.   File "C:\Users\jason\PyMOL\lib\threading.py", line 865, in run
  42.     self._target(*self._args, **self._kwargs)
  43.   File "toplevel", line 6, in _auto_save
  44. ValueError: Invalid format string
  45.  
  46.  Executive: Loading version 2.001000 session...
  47.  Session was saved with: viewport 1700, 750
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement