From fef0f0db168b3e6bab210cb4da780b754b46030b Mon Sep 17 00:00:00 2001 From: frheault Date: Thu, 8 Jul 2021 15:34:05 -0500 Subject: [PATCH] Move back the missing line --- scripts/scil_analyse_lesions_load.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/scil_analyse_lesions_load.py b/scripts/scil_analyse_lesions_load.py index e0d4d3e6a..976efd4d6 100644 --- a/scripts/scil_analyse_lesions_load.py +++ b/scripts/scil_analyse_lesions_load.py @@ -112,6 +112,7 @@ def main(): voxel_sizes=voxel_sizes, min_lesion_vol=args.min_lesion_vol) if args.out_lesion_atlas: + lesion_atlas *= map_data.astype(bool) nib.save(nib.Nifti1Image(lesion_atlas, lesion_img.affine), args.out_lesion_atlas)