Skip to content

Commit 0f19cea

Browse files
committed
Update use of rename in anatomical.py
1 parent afb331d commit 0f19cea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rbc/workflows/anatomical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def single_session(in_t1w: Path, output_dir: Path) -> None:
4343
(extracted_t1w.gm_segmentation, "gm", "dseg"),
4444
]
4545
renamed_files = [
46-
rename(Path(out_file), str(bids(desc=desc, suffix=suffix, ext=".nii.gz")))
46+
rename(out_file, bids(desc=desc, suffix=suffix, ext=".nii.gz"))
4747
for out_file, desc, suffix in extracted_t1w_outputs
4848
]
4949
niwrap_helper.save(

0 commit comments

Comments
 (0)