From f5ec4802140d9cd45862aba6378efefb7d3de8d3 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Mon, 2 Sep 2024 10:12:16 +1000 Subject: [PATCH] 5ttgen hsvs: Fix execution where FAST is not available --- python/mrtrix3/commands/5ttgen/hsvs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mrtrix3/commands/5ttgen/hsvs.py b/python/mrtrix3/commands/5ttgen/hsvs.py index c9bfded485..78a27eaf91 100644 --- a/python/mrtrix3/commands/5ttgen/hsvs.py +++ b/python/mrtrix3/commands/5ttgen/hsvs.py @@ -657,7 +657,7 @@ def voxel2scanner(voxel, header): run.command(['mrcalc', aparc_image, str(wm_index), '-eq', aparc_image, str(gm_index), '-eq', '-add', '-', '|', 'voxel2mesh', '-', f'{hemi}cerebellum_all_init.vtk']) progress.increment() - run.command(['mrcalc', aparc_image, gm_index, '-eq', '-', '|', + run.command(['mrcalc', aparc_image, str(gm_index), '-eq', '-', '|', 'voxel2mesh', '-', f'{hemi}cerebellum_grey_init.vtk']) progress.increment() for name, tissue in { 'all':2, 'grey':1 }.items():