We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using 'medpy.metric.binary.hd' or 'medpy.metric.binary.asd', I get the following error:
TypeError: numpy boolean subtract, the - operator, is deprecated, use the bitwise_xor, the ^ operator, or the logical_xor function instead.
-
^
With stack trace pointing to a line in medpy/metric/binary.pyc 1169 result_border = result - binary_erosion(result, structure=footprint, iterations=1)
1169 result_border = result - binary_erosion(result, structure=footprint, iterations=1)
Does the operator need any update? (I'm using MedPy 0.3.0)
The text was updated successfully, but these errors were encountered:
I am having the same problem if I install from pip. If I build directly from master it works fine.
Sorry, something went wrong.
Thanks for the solution @wasserth Please use the current master, we are planning on pushing a new release, soon.
No branches or pull requests
When using 'medpy.metric.binary.hd' or 'medpy.metric.binary.asd', I get the following error:
With stack trace pointing to a line in medpy/metric/binary.pyc
1169 result_border = result - binary_erosion(result, structure=footprint, iterations=1)
Does the operator need any update? (I'm using MedPy 0.3.0)
The text was updated successfully, but these errors were encountered: