Closed
Description
I've installed medpy from master branch, however I'm still getting a Python 3 incompatibility, xrange
function was removed in py3 and replaced by range
. For short lists, it should not make a difference in Python 2.
[...]\src\medpy\medpy\filter\smoothing.py", line 135, in anisotropic_diffusion
deltas = [numpy.zeros_like(out) for _ in xrange(out.ndim)]
NameError: name 'xrange' is not defined
I can make the changes and a PR if you're interested, let me know