Repository navigation
Conversation
Member
Author
|
Combined with #3869 tests should go green again. |
rfezzani
added a commit
to rfezzani/scikit-image
that referenced
this pull request
Apr 30, 2019
rfezzani
reviewed
Apr 30, 2019
| PYAMG_OR_SCIPY_WARNING = SCIPY_RANK_WARNING + '|' + PYAMG_MISSING_WARNING | ||
|
|
||
| if (Version(np.__version__) >= '1.15.0'): | ||
| if Version(np.__version__) >= '1.15.0' and Version(scipy.__version__) < '1.13': |
Member
There was a problem hiding this comment.
I think that the correct test is Version(scipy.__version__) < '1.3'. I tested it in #3850 and CI succeeded.
Member
Author
There was a problem hiding this comment.
Thanks, such a brain fart there.
Member
Author
There was a problem hiding this comment.
I was actually about to go crazy trying to find out what was going wrong....
9 tasks
Member
|
Included in #3869 . |
Member
Author
|
@meeseeksdev backport to v0.15.x |
|
Something went wrong ... Please have a look at my logs. |
emmanuelle
pushed a commit
that referenced
this pull request
May 7, 2020
* Add get_mask_segments and get_grid_segments * Add centroid update option * Add mask support to SLIC * Fix mask support for SLIC * Add tests for SLIC mask option * Add ValueError if mask is not 2D * Add support for mask SLIC 3D * Add SLIC mask 3D tests * Fix PEP8 E226 * Change mask dtype from int to bool boolean array is not supported by Cython (see https://cython-docs2.readthedocs.io/en/latest/src/tutorial/numpy.html) Thats why it is declared as uint8 in _slic.pyx * Change segments type and Fix mask condition * Add benchmark for mask SLIC * Fix mask slic behavior Masked areas are now labeled 0. When no mask is provided, current behavior (labelling starting from 0) is deprecated. * Update test results for mask SLIC * Remove the masked_value argument * Fix the behavior induced by start_label * Add galery example * Fix CI example generation * Refactor mask slic example * Add fix from #3870 * Add fix from #3869 * Fix scipy version test * Add review suggestions * Add comments to _get_mask_centroids and a Note describing slic behaviour according to spacing value * Fix test results for maskSLIC * Revert test_slic modifications * Fix test results for maskSLIC * Fix test results for maskSLIC * Address reviewer comments * Move mask creation to setup in benchmark * Add start_label parameter to slic * Fix Raise section in slic docstring * Add deprecation cycle for start_label management * Set deprecation warning to FutureWarning * Remove warning filtering in the tests * Remove mask initialization if not used * Remove the numpy array buffer syntax to use cython memoryview * Fix TODO list * Fix PEP8 Co-Authored-By: Stefan van der Walt <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-Authored-By: Stefan van der Walt <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-Authored-By: Stefan van der Walt <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-Authored-By: Stefan van der Walt <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-Authored-By: Stefan van der Walt <[email protected]> * Fix docstrings * Use clustering for mask centroids initialization * Fix tests * Update skimage/segmentation/_slic.pyx Co-authored-by: Gregory R. Lee <[email protected]> * Update skimage/segmentation/_slic.pyx Co-authored-by: Gregory R. Lee <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-authored-by: Gregory R. Lee <[email protected]> * Update doc/examples/segmentation/plot_mask_slic.py Co-authored-by: Gregory R. Lee <[email protected]> * Update doc/examples/segmentation/plot_mask_slic.py Co-authored-by: Gregory R. Lee <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-authored-by: Gregory R. Lee <[email protected]> * Update skimage/segmentation/slic_superpixels.py Co-authored-by: Gregory R. Lee <[email protected]> Co-authored-by: Riadh <[email protected]> Co-authored-by: Stefan van der Walt <[email protected]> Co-authored-by: Gregory R. Lee <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
It seems that scipy removed the warning in 1.13. Maybe also in some version of 1.12 since they are considering backporting it.
scipy/scipy#9764
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.@meeseeksdev backport to v0.14.x