Commit ecf38eb3 authored by Fernando Perez-Garcia's avatar Fernando Perez-Garcia

Sort filepaths

parent 931fc026
......@@ -6,7 +6,7 @@ import nibabel as nib
from tqdm import tqdm
print('Looking for NIfTI files...')
filepaths = list(Path(sys.argv[1]).glob('**/*.nii.gz'))
filepaths = sorted(list(Path(sys.argv[1]).glob('**/*.nii.gz')))
print('Checking which ones are float64...')
to_fix = []
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment