File: C0300session.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 (27 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PyMOL>load dat/pept.pdb
 CmdLoad: "dat/pept.pdb" loaded as "pept".
PyMOL>select cas,name ca
 Selector: selection "cas" defined with 13 atoms.
PyMOL>set line_width,5
 Setting: line_width set to 5.00000.
PyMOL>show spheres,name n
PyMOL>save tmp/session.pse
 Save: Please wait -- writing session file...
 Save: wrote "tmp/session.pse".
PyMOL>reinitialize
PyMOL>print cmd.get_names()
[]
PyMOL>get line_width
 get: line_width = 1.49000
PyMOL>count_atoms rep spheres
 count_atoms: 0 atoms
PyMOL>load tmp/session.pse
 Executive: Loading version 1.20 session...
PyMOL>print cmd.get_names()
['pept']
PyMOL>get line_width
 get: line_width = 5.00000
PyMOL>count_atoms rep spheres
 count_atoms: 13 atoms
PyMOL>count_atoms cas
 count_atoms: 13 atoms