New issue
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
[ENH] Validate streamlines pre-LiFE #2195
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2195 +/- ##
==========================================
+ Coverage 89.13% 91.35% +2.21%
==========================================
Files 251 251
Lines 32427 32456 +29
Branches 3422 3412 -10
==========================================
+ Hits 28905 29650 +745
+ Misses 2806 2059 -747
- Partials 716 747 +31
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I have a suggestion to make this a little less auto-magical. Also, would you mind adding a test?
Co-authored-by: Ariel Rokem <arokem@gmail.com>
Hello @dPys, Thank you for updating !
Comment last updated at 2020-07-23 22:57:02 UTC |
Test added |
Looks like there's some problem with the fixture you added? https://travis-ci.com/github/dipy/dipy/jobs/362957473#L2288 |
Hmm that's odd. I'm trying to test this module, but when I run pytest -vvv test_life.py, I get:
Have you encountered this error before? It's strange because no relative imports are used in the file and I can easily import dipy.reconst.recspeed in ipython so the install is good... |
Yo @dPys: are you sure you are running this in the same env as the import in python? This looks like what I get when I don't have the cython extensions compiled. Could you please try compiling them again (e.g., |
+1, I encounter this when there is an environment problem Can you rebase your PR? Furthermore, I recommend to keep the test simple so to avoid the use of |
Done |
LGTM. I think we can merge when the CI comes back green. |
CI's are green, Thank you @dPys! merging |
Maybe we could also add an optional brain mask argument to ensure we're only considering fibers inside the brain?