Skip to content

Commit

Permalink
Merge pull request #473 from frheault/lesions_minor_fix
Browse files Browse the repository at this point in the history
Lesions minor fix
  • Loading branch information
arnaudbore authored Jul 8, 2021
2 parents f444ddf + fef0f0d commit 7e30b73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/scil_analyse_lesions_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7e30b73

Please sign in to comment.