[FIX]: Correct command for mri_binarize in BrainPrint #356
2 changed files with 2 additions and 1 deletions
1
docs/changes/newsfragments/356.bugfix
Normal file
1
docs/changes/newsfragments/356.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Fix ``mri_binarize`` command preparation for structures with multiple indices in :class:`.BrainPrint` by `Fede Raimondo`_
|
||||||
|
|
@ -143,7 +143,7 @@ class BrainPrint(BaseMarker):
|
||||||
mri_binarize_cmd = [
|
mri_binarize_cmd = [
|
||||||
"mri_binarize",
|
"mri_binarize",
|
||||||
f"--i {aseg_path.resolve()}",
|
f"--i {aseg_path.resolve()}",
|
||||||
f"--match {''.join(indices)}",
|
f"--match {' '.join(indices)}",
|
||||||
f"--o {mri_binarize_output_path.resolve()}",
|
f"--o {mri_binarize_output_path.resolve()}",
|
||||||
]
|
]
|
||||||
# Call mri_binarize command
|
# Call mri_binarize command
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue