Resolve deprecation of selem argument (now footprint) in skimage.morphology.dilation
Recent versions of scikit-image have completely deprecated the selem argument in favor of dilation:
skimage.morphology.dilation Complete deprecation of selem parameter
This minor patch to xrai.py resolves the issue on line 126.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@mantasu: Makes sense -- updated all three references from selem to footprint -- thanks!
Thanks for submitting this fix!