Skip to content

Commit 48bee78

Browse files
committed
BF: fixed the commandline parser
1 parent 5af2dad commit 48bee78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

surfer/_commandline.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
help="hemisphere to load")
3939
parser.add_argument("surf",
4040
help="surface mesh (e.g. 'pial', 'inflated')")
41-
parser.add_argument("-no-curv", action="store_false", dest="curv",
42-
help="do not display the binarized surface curvature")
4341
parser.add_argument("-morphometry", metavar="MEAS",
4442
help="load morphometry file (e.g. thickness, curvature)")
4543
parser.add_argument("-annotation", metavar="ANNOT",
@@ -64,8 +62,12 @@
6462
help="size of the display window (in pixels)")
6563
parser.add_argument("-background", metavar="COLOR", default="black",
6664
help="background color for display")
65+
parser.add_argument("-foreground", metavar="COLOR", default="white",
66+
help="foreground color for display")
6767
parser.add_argument("-cortex", metavar="COLOR", default="classic",
68-
help="colormap for binary cortex curvature")
68+
help="colormap or color for rendering the cortex")
69+
parser.add_argument("-alpha", metavar="COLOR", default="1.0",
70+
help="specifies opacity for the cortical surface")
6971
parser.add_argument("-title",
7072
help="title to use for the figure")
7173
parser.add_argument("-views", nargs="*", default=['lat'],

0 commit comments

Comments
 (0)