Skip to content

Commit

Permalink
Update python/mrtrix3/commands/5ttgen/odf.py
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Smith <[email protected]>
  • Loading branch information
arkiev and Lestropie authored Oct 11, 2024
1 parent cee4a97 commit d0122e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mrtrix3/commands/5ttgen/odf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def execute(): # pylint: disable=unused-variable
run.command(f'mrconvert {app.ARGS.odf_wm} -coord 3 0 -axes 0,1,2 wm_vol.mif')

# Set negative values to zero
run.command(f'mrcalc wm_vol.mif 0.0 -max wm_vol_pos.mif')
run.command('mrcalc wm_vol.mif 0.0 -max wm_vol_pos.mif')
run.command(f'mrcalc', app.ARGS.template_odf_gm, '0.0 -max gm_vol_pos.mif')
run.command(f'mrcalc', app.ARGS.template_odf_csf, '0.0 -max csf_vol_pos.mif')

Expand Down

0 comments on commit d0122e0

Please sign in to comment.