Skip to content

Commit 931c012

Browse files
committed
Revert "spectrum_states.py: Code cleanup"
This reverts commit ffc874e.
1 parent 4153d3b commit 931c012

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spectrum_states.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"""
1+
'''
22
http://pymolwiki.org/index.php/spectrum_states
33
44
(c) 2011 Takanori Nakane and Thomas Holder
55
66
License: BSD-2-Clause
7-
"""
7+
'''
88

99
from __future__ import print_function
1010

@@ -14,16 +14,16 @@
1414
def spectrum_states(selection='all', representations='cartoon ribbon',
1515
color_list='blue cyan green yellow orange red',
1616
first=1, last=0, quiet=1):
17-
"""
18-
DESCRIPTION
17+
'''
18+
DESCRIPTION
1919
2020
Color each state in a multi-state object different.
2121
22-
USAGE
22+
USAGE
2323
2424
spectrum_states [ selection [, representations [, color_list [, first [, last ]]]]]
2525
26-
ARGUMENTS
26+
ARGUMENTS
2727
2828
selection = string: object names (works with complete objects only)
2929
{default: all}
@@ -34,10 +34,10 @@ def spectrum_states(selection='all', representations='cartoon ribbon',
3434
color_list = string: space separated list of colors {default: blue cyan
3535
green yellow orange red}
3636
37-
SEE ALSO
37+
SEE ALSO
3838
3939
spectrum, spectrumany
40-
"""
40+
'''
4141
from math import floor, ceil
4242

4343
first, last, quiet = int(first), int(last), int(quiet)

0 commit comments

Comments
 (0)