Skip to content

Commit 6bbfb8b

Browse files
committed
Merge pull request #138 from mwaskom/update_docs
Prepare for 0.6 release
2 parents a671d73 + 26c051c commit 6bbfb8b

File tree

4 files changed

+2
-65
lines changed

4 files changed

+2
-65
lines changed

doc/documentation/config_file.rst

Lines changed: 0 additions & 61 deletions
This file was deleted.

doc/documentation/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ Detailed Documentation
88
./command_line
99
./custom_viz
1010
./split_brain
11-
./config_file
12-

surfer/_commandline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
help="overlay sign")
6161
parser.add_argument("-name",
6262
help="name to use for the overlay")
63-
parser.add_argument("-size", default=800,
63+
parser.add_argument("-size", default=800, nargs="?",
6464
help="size of the display window (in pixels)")
6565
parser.add_argument("-background", metavar="COLOR", default="black",
6666
help="background color for display")

surfer/viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def _set_window_properties(self, size, background, foreground):
477477
# old option "size" sets both width and height
478478
try:
479479
width, height = size
480-
except TypeError:
480+
except (TypeError, ValueError):
481481
width, height = size, size
482482
self._scene_size = height, width
483483

0 commit comments

Comments
 (0)