From 4a270a74d79fcad73c502118db241247867eb490 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 20 Sep 2014 19:34:46 -0500 Subject: [PATCH] Fix syntax error --- skimage/_shared/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/_shared/utils.py b/skimage/_shared/utils.py index 805f3cce..8143abc5 100644 --- a/skimage/_shared/utils.py +++ b/skimage/_shared/utils.py @@ -150,4 +150,4 @@ def assert_nD(array, arg_name='image', ndim=2): ndim = [ndim] if not array.ndim in ndim: msg = "The parameter `%s` must be a %s-dimensional array" - raise ValueError(msg % (arg_name, '-or-'.join([str(n) for n in ndim])) + raise ValueError(msg % (arg_name, '-or-'.join([str(n) for n in ndim])))