Skip to content

Commit dc4b35b

Browse files
committed
Format
1 parent c68b8fe commit dc4b35b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/rbc/core/anatomical/segmentation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def ants_brain_extraction(
3838
outputs are the bias-corrected brain image and the brain mask.
3939
4040
Args:
41-
in_file: Input anatomical T1w image to perform brain extraction on. In RBC this is the Reoriented (RPI) T1w.
41+
in_file: Input anatomical T1w image to perform brain extraction on.
42+
In RBC this is the reoriented (RPI) T1w.
4243
4344
Returns:
4445
ANTs brain extraction outputs (brain image, brain mask, N4-corrected

src/rbc/core/nifti.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818

1919
def nifti_num_volumes(in_file: str | Path) -> int:
20-
"""Return the number of volumes in a NIfTI image (returns 1 for 3-D images).
21-
"""
20+
"""Return the number of volumes in a NIfTI image (returns 1 for 3-D images)."""
2221
shape = nibabel.nifti1.load(in_file).shape
2322
return shape[3] if len(shape) > 3 else 1

0 commit comments

Comments
 (0)