morphology: rename files with "grey" in filename#5386
morphology: rename files with "grey" in filename#5386alexdesiqueira merged 7 commits intoscikit-image:mainfrom
Conversation
keep functions available from old grey locations, but warn if imported from there
|
Why doesn't |
I think it does if you look at the first commit only. Subsequently I introduced a new file under the name |
Ok, thanks. Yes, reviewing would be more straightforward with the 'expected' diff but I'll find a way :) Can you please take care of the now conflicts in |
The original files are unchanged aside from the file rename and string replacement of "grey" -> "gray" |
👌 👍
Yes, yes, just like in #5385 (that's why I'm reviewing them in the same wake, it's cognitively efficient). |
mkcor
left a comment
There was a problem hiding this comment.
Most of my suggestions are not directly related to the scope of this PR, so this is good to go!
PS: I'm disappointed to find out that we won't be 'consistent' anymore with scipy.ndimage, which uses the 'grey' spelling for their morphology functions.
Co-authored-by: Marianne Corvellec <marianne.corvellec@ens-lyon.org>
|
Looks gray-t to me 😄 Thank you @grlee77! |
Description
closes #2604 (once #5385 is also merged)
This PR just renames a couple of the files in
skimage.morphology. A file with the old name was also kept, but will raise a warning if a user imports from it. This was done for backward compatibility with existing code that may have imported directly fromskimage.morphology.greyorskimage.morphology.greyreconstructinstead of from the intendedskimage.morphology.Checklist
./doc/examples(new features only)./benchmarks, if your changes aren't covered by anexisting benchmark
For reviewers
later.
__init__.py.doc/release/release_dev.rst.