fsl.scripts.remove_ext

fsl.scripts.remove_ext.exts = ['.nii.gz', '.nii', '.nii.zst', '.nii.bz2', '.img', '.hdr', '.img.gz', '.hdr.gz', '.img.zst', '.hdr.zst', '.img.bz2', '.hdr.bz2', '.mnc', '.mnc.gz']

List of file extensions that are removed by remove_ext.

fsl.scripts.remove_ext.main(argv=None)[source]

Removes file extensions from all paths which are specified on the command line.