File: M0050session.log

package info (click to toggle)
pymol 1.8.4.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,248 kB
  • ctags: 24,095
  • sloc: cpp: 474,635; python: 75,034; ansic: 22,888; sh: 236; makefile: 78; csh: 21
file content (20 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PyMOL>from pymol2 import PyMOL
PyMOL>a = PyMOL()
PyMOL>print a != None
True
PyMOL>a.start()
PyMOL>a.cmd.load("dat/pept.pdb",quiet=0)
 CmdLoad: "dat/pept.pdb" loaded as "pept".
PyMOL>a.cmd.save("tmp/M0050session.pse",quiet=0)
 Save: wrote "tmp/M0050session.pse".
PyMOL>a.cmd.reset()
PyMOL>print a.cmd.count_atoms()
107
PyMOL>a.cmd.load("tmp/M0050session.pse",quiet=0)
 Executive: Loading version 1.10 session...
PyMOL>print a.cmd.count_atoms()
107
PyMOL>print cmd.count_atoms()
0
PyMOL>a.stop()
PyMOL>del a