Skip to content

Commit 8b697e5

Browse files
Refactor demo scripts to improve formatting and update residue references in cartoon and sticks demos.
1 parent f66b124 commit 8b697e5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

scripts/demos/cartoon.pml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ remove chain B
55

66
# set the color scheme
77
spectrum b, rainbow2, pol.
8-
util.cba(144,"resn SEP",_self=cmd)
8+
util.cba(144, "resn SEP", _self=cmd)
99

1010
# set the view
1111
show spheres, resn SEP

scripts/demos/sticks.pml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ remove resn SO4
66
# set the color scheme
77
color grey80, pol.
88
set cartoon_transparency, 0.8
9-
util.cba(11,"resn LAQ",_self=cmd)
10-
util.cba(5274,"br. resn LAQ a. 4",_self=cmd)
9+
util.cba(11, "resn LAQ", _self=cmd)
10+
util.cba(5274, "br. resn LAQ a. 3.5", _self=cmd)
1111

1212
# set the view
13-
show sticks, br. resn LAQ a. 4
13+
show sticks, br. resn LAQ a. 3.5
1414
orient
15-
zoom br. resn LAQ a. 4
15+
zoom (br. resn LAQ a. 3.5) + resn LAQ
1616

1717
# render & save
1818
ray 1920, 1080

scripts/demos/surface.pml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ remove sol.
77
color_deep lightblue, resi 1-61
88
color_deep palegreen, resi 62-270
99
color_deep lightpink, resi 271-320
10-
util.cba(144,"resn BTX",_self=cmd)
10+
util.cba(144, "resn BTX", _self=cmd)
1111

1212
# set the view
1313
show surface, pol.

0 commit comments

Comments
 (0)