[ENH]: Introduce _AntsApplyTransformsWarper #293
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!293
Loading…
Reference in a new issue
No description provided.
Delete branch "update/add-ants-warping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces
_AntsApplyTransformsWarperas a generic ANTsantsApplyTransformswrapper class for internal use. It also adaptsBOLDWarper,get_mask,get_parcellationandget_coordinatesto dynamically choose FSL or ANTs depending on warp file extension. It also completes unit tests for_ApplyWarperandBOLDWarper.Codecov Report
Attention:
108 linesin your changes are missing coverage. Please review.Additional details and impacted files
100.00% <ø> (ø)88.09% <17.55%> (-1.37%)Flags with carried forward coverage won't be shown. Click here to find out more.
38.46% <ø> (ø)54.83% <9.09%> (-17.89%)75.49% <4.76%> (-7.47%)86.27% <4.76%> (-2.32%)56.09% <0.00%> (-14.68%)38.46% <38.46%> (ø)... and 3 files with indirect coverage changes
@ -40,3 +45,4 @@"commands": ["ResampleImage", "antsApplyTransforms"],},]How does this work with the dependency check?
@ -40,3 +45,4 @@"commands": ["ResampleImage", "antsApplyTransforms"],},]In the
BOLDWarper, the check is optional, but when the actual preprocessor class i.e.,ApplyWarperandAntsApplyTransformsWarperare initialised inside it, the checks are mandatory and fails if the tools are not found.@ -40,3 +45,4 @@"commands": ["ResampleImage", "antsApplyTransforms"],},]Excellent!