Skip to content

Commit 45f78d4

Browse files
committed
update output_resolution option
1 parent 58d48ae commit 45f78d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dmriprep/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def main(
228228
work_dir=work_dir,
229229
ignore=list(ignore),
230230
b0_thresh=b0_thresh,
231-
output_resolution=output_resolution,
231+
output_resolution=(output_resolution, output_resolution, output_resolution),
232232
bet_dwi=bet_dwi,
233233
bet_mag=bet_mag,
234234
omp_nthreads=omp_nthreads,

dmriprep/workflows/dwi/prep_dwi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def init_prep_dwi_wf(ignore, output_resolution):
2222

2323
unring = pe.Node(mrtrix3.MRDeGibbs(), name="unring")
2424

25-
resample = pe.Node(mrtrix3.MRResize(voxel_size=[1, 1, 1]), name="resample")
25+
resample = pe.Node(mrtrix3.MRResize(voxel_size=output_resolution), name="resample")
2626

2727
prep_full = ["denoise", "unring", "resample"]
2828

0 commit comments

Comments
 (0)