Allow for no exceptions to be raised and cleanup

Allow for no exceptions to be raised

Add some helpful comments

Remove doctest skips

Remove TODO note

Cleanup and skip failing doctest
This commit is contained in:
Steven Silvester
2014-12-23 16:51:18 -06:00
parent c0a0490eed
commit 2d3ada19e5
10 changed files with 26 additions and 32 deletions
-1
View File
@@ -163,4 +163,3 @@ def assert_nD(array, ndim, arg_name='image'):
ndim = [ndim]
if not array.ndim in ndim:
raise ValueError(msg % (arg_name, '-or-'.join([str(n) for n in ndim])))