Add whitespace following comma

This commit is contained in:
Nelson Brown
2014-07-13 16:55:06 -07:00
parent 042d85ad43
commit b677c400df
+8 -7
View File
@@ -3,13 +3,14 @@ import scipy.ndimage as nd
from .selem import _default_selem
# Our function names don't exactly correspond to ndimages.
# These dictionaries translate from our names to scipy's.
skimage2ndimage = {x: 'grey_' + x
for x in ('erosion','dilation','opening','closing')}
skimage2ndimage.update({x: x
for x in ('binary_erosion','binary_dilation',
'binary_opening','binary_closing',
'black_tophat','white_tophat')})
# This dictionary translates from our names to scipy's.
funcs = ('erosion', 'dilation', 'opening', 'closing')
skimage2ndimage = {x: 'grey_' + x for x in funcs}
# These function names are the same in ndimage.
funcs = ('binary_erosion', 'binary_dilation', 'binary_opening',
'binary_closing', 'black_tophat', 'white_tophat')
skimage2ndimage.update({x: x for x in funcs})
def default_fallback(func):
"""Decorator to fall back on ndimage for images with more than 2 dimensions