File: M0050session.log

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
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