Comments (6)
Opened duplicate issue #237, some discussion there.
from scikit-image.
Since you closed the other PR, I'll just copy your comment here so that it doesn't look like I'm talking to myself :)
In sklearn we put +SKIPTEST at the end of all lines of the non-doctests. That is clearly not optimal but we couldn't think of anything better. Using >> is an option but breaks the sphinx translation (so it will be ugly in the rendered html).
Good point about the Sphinx issue. I can't seem to find documentation for +SKIPTEST
; do you mean +SKIP
. It's pretty ugly, but if we limit the number of examples that aren't valid doctests (which is a good idea anyway), it shouldn't be too bad.
I also noticed that there where some issues with dtype. It was "expected" to be a string, but really was a numpy object. Do you think these where simply never tested?
I wouldn't be too surprised if they weren't ever tested, actually, but I can't really say for sure.
And do you have any idea waht the TypeError: 'module' object is not callable might be?
It looks like rank_order
is both a module in the filter
subpackage and a function imported into the namespace of the filter
subpackage. I don't know why it would work in some cases but not in others. We should rename the rank_order
module to _rank_order
(this is the convention we've been using).
from scikit-image.
Oh actually, the dtype issue may have been a change in numpy. I vaguely remember some changes to dtype printing that were discussed on the numpy list. I see the same error as you though, so it's probably safe to change. (Unless someone else chimes in to the contrary).
from scikit-image.
Renaming some of the modules in the filter
package seems to fix a lot of the errors (45 errors down to 30; 26 failures down to 20). See PR #240.
from scikit-image.
Unfortunately, some modules with similarly-named functions also have cython modules that already use the underscore-prefix convention (e.g. skeletonize
and watershed
).
from scikit-image.
Thanks for the feedback and for tackling this so quickly (at least partially).
I try to focus on #206 to get that finally done, then I'll try to give this one a look.
from scikit-image.
Related Issues (20)
- Add `-DNPY_NO_DEPRECATED_API` flag to our meson configuration
- Address unstable `test_ellipse_parameter_stability`
- Import error with Homebrew installation HOT 3
- skit saves labels sketched by 3D slicer, but the positions of labels are inconsistent HOT 2
- measure.label should return uint 32 instead of uint 16 HOT 1
- filters.laplace result has the wrong sign
- Collections attribute is used in gallery but was deprecated in Matplotlib 3.8. HOT 1
- Potential Enhancements and Clarifications for Wiener Deconvolution (restoration.wiener) HOT 7
- Feature smaller, focused gallery examples with a lower priority
- 0.23 release HOT 10
- Cannot catch MemoryError
- A typo in source code comment and document HOT 2
- io.imread() not opening renamed NDTiffStacks HOT 4
- Wheel building action fails with `actions/upload-artifact@v4` HOT 1
- In `scikit-image==0.23.1` `img_as_ubyte` stop accepting `np.ulonglong` HOT 22
- Investigate performance optimization in `_corner_fast` HOT 2
- test_unsharp_masking_output_type_and_shape fails on non-x86 architectures HOT 9
- H&E and Residual, rather than HED HOT 5
- Invalid no-name-in-module from pylint on scikit-image>=0.19.0 using filters module HOT 3
- libatlas 3.10.3 related failures on debian
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-image.