diff --git a/skimage/find_contours/__init__.py b/skimage/find_contours/__init__.py index ebfd187f..b807cd57 100755 --- a/skimage/find_contours/__init__.py +++ b/skimage/find_contours/__init__.py @@ -75,8 +75,8 @@ def find_contours(array, level, fully_connected='low', positive_orientation='low if array.ndim != 2: raise RuntimeError('Only 2D arrays are supported.') level = float(level) - if fully_connected not in _param_options or - positive_orientation not in _param_options: + if (fully_connected not in _param_options or + positive_orientation not in _param_options): raise ValueError('Parameters "fully_connected" and' ' "positive_orientation" must be either "high" or "low".') point_list = _find_contours.iterate_and_store(array, level, diff --git a/skimage/setup.py b/skimage/setup.py index 35a04f6b..690d8816 100644 --- a/skimage/setup.py +++ b/skimage/setup.py @@ -15,6 +15,7 @@ def configuration(parent_package='', top_path=None): config.add_subpackage('color') config.add_subpackage('draw') config.add_subpackage('feature') + config.add_subpackage('find_contours') def add_test_directories(arg, dirname, fnames): if dirname.split(os.path.sep)[-1] == 'tests':