Closed karanphil closed 4 months ago
Hello @karanphil, Thank you for updating !
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Attention: Patch coverage is 96.15385%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 69.37%. Comparing base (
1c3029a
) to head (1bb9898
).
Quick description
I added the legacy option for SH basis to all scripts, except
scil_qball_metrics.py
which do not have the legacy support from Dipy. I did a PR in Dipy, but in the meantime we could convert the SH basis on our end, or just not support anything else than legacy=True (the default in Dipy) for this script. In summary, thepeaks_from_model
function fromdipy.direction.peaks
does not have a legacy option for the moment, so we are stuck with the default legacy option (True) forscil_qball_metrics.py
.This resulted in the creation of an
interpret_sh_basis
function toio.utils
, which extracts the SH basis name and the legacy option from the sh_basis argument. Thescil_sh_convert.py
script changed the most, as it now requires two choices from the sh_basis argument....
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
...
Checklist