dmriprep
dmriprep copied to clipboard
[ENH] - extra bval parsing for number of shells
In response to issue #64 and discussion during the hack here is a little addition to the vectors utility that can determine and report on the number of the shells (as well as masks for each shell).
Currently, it is outside of DiffusionTable because I'm unsure if we want all the methods integrated..
Thanks for opening this pull request! We have detected this is the first time for you to contribute to dMRIPrep. Please check out our contributing guidelines.
We invite you to list yourself as a dMRIPrep contributor, so if your name is not already mentioned, please modify the .zenodo.json file and insert your data last in the contributors list. Example:
{
"name": "Contributor, New dMRIPrep",
"affiliation": "Department of dMRI prep'ing, Open Science Made-Up University",
"orcid": "<your id>",
"type": "Researcher"
}
Of course, if you want to opt-out this time there is no problem at all with adding your name later. You will be always welcome to add it in the future whenever you feel it should be listed.
Best reviewed: commit by commit
Optimal code review plan (4 warnings)
adding first version of bval parser
added one smoke test for bvals
...ep/utils/tests/test_vectors.py56% changes removed in changed bval parsing...
now with a fiew passing tets
...ep/utils/tests/test_vectors.py55% changes removed in changed bval parsing...
Merge pull request #1 from nipreps/master
dmriprep/utils/vectors.py46% changes removed in changed bval parsing...
dmriprep/utils/images.py41% changes removed in Merge pull request #...
docs/requirements.txt80% changes removed in Merge pull request #...
setup.cfg50% changes removed in Merge pull request #...
dmriprep/workflows/base.py47% changes removed in Merge pull request #...
dmriprep/workflows/dwi/base.py57% changes removed in Merge pull request #...
dmriprep/cli/run.py45% changes removed in Merge pull request #...
Merge pull request #2 from nipreps/master
dmriprep/interfaces/images.py50% changes removed in Merge pull request #...
Powered by Pull Assistant. Last update 76a4202 ... b39447e. Read the comment docs.
Hello @edickie, Thank you for updating!
Cheers! There are no style issues detected in this Pull Request. :beers: To test for issues locally, pip install flake8 and then run flake8 dmriprep.
Comment last updated at 2020-04-07 22:57:59 UTC
Do you think you can give this a little bump for tomorrow's meeting?
Codecov Report
Merging #73 into master will decrease coverage by
0.01%. The diff coverage is21.42%.
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
- Coverage 51.06% 51.05% -0.02%
==========================================
Files 21 21
Lines 1218 1232 +14
Branches 161 164 +3
==========================================
+ Hits 622 629 +7
- Misses 581 590 +9
+ Partials 15 13 -2
| Impacted Files | Coverage Δ | |
|---|---|---|
| dmriprep/utils/vectors.py | 87.07% <21.42%> (-3.17%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 9d83d50...b39447e. Read the comment docs.
I believe this from #29 is highly related to this PR.
EDIT: I'll go through this PR tomorrow. Thanks for updating Erin!