MC: add comment about except

This commit is contained in:
Almar Klein
2016-07-26 22:22:35 +02:00
parent 7686105129
commit 7e71a8e042
+1 -1
View File
@@ -152,7 +152,7 @@ def marching_cubes(volume, level=None, spacing=(1., 1., 1.),
try:
nout = _expected_output_args()
except Exception:
nout = 0
nout = 0 # always warn if, for whaterver reason, the black magic in above call fails
if nout <= 2:
warn(skimage_deprecation('`marching_cubes` now uses a better and '
'faster algorithm, and returns four instead '