We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533b276 commit 462ff53Copy full SHA for 462ff53
examples/example_watershed.py
@@ -28,7 +28,7 @@
28
###############################################################################
29
# loading an examplar mesh and corresponding texture
30
path_to_mesh = "../examples/data/example_mesh.gii"
31
-path_to_mask = ""
+path_to_mask = None
32
path_to_output = ""
33
34
mesh = sio.load_mesh(path_to_mesh)
@@ -48,7 +48,7 @@
48
49
50
# define the exclusion mask (cingular pole)
51
-if path_to_mask:
+if path_to_mask is not None:
52
mask = sio.load_texture(path_to_mask).darray[0]
53
else:
54
mask = None
0 commit comments