You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cell 20 in lesson notebook 02_interactive_analysis.ipynb needs updating to be compatible with the latest versions of scikit-image and numpy. I know this notebook was written several years ago, but it's a great example and I'd like to keep it useable for everyone.
It needs to be:
Now we can try and identify the centers of each of the nuclei by finding peaks of the distance transform
The indices keyword argument for peak_local_max has been deprecated. I have removed it. This also means the returned result is the peaks variable, not peaks_local_max as before.
Dtypes of np.bool are deprecated, and it's advised to replace with bool instead. I've done that here.
The text was updated successfully, but these errors were encountered:
adiezsanchez
added a commit
to adiezsanchez/napari-training-course
that referenced
this issue
Aug 30, 2023
Cell 20 in lesson notebook
02_interactive_analysis.ipynb
needs updating to be compatible with the latest versions of scikit-image and numpy. I know this notebook was written several years ago, but it's a great example and I'd like to keep it useable for everyone.It needs to be:
There are two changes here:
indices
keyword argument forpeak_local_max
has been deprecated. I have removed it. This also means the returned result is thepeaks
variable, notpeaks_local_max
as before.np.bool
are deprecated, and it's advised to replace withbool
instead. I've done that here.The text was updated successfully, but these errors were encountered: