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

Improve logging

parent bc591fe5
......@@ -8,7 +8,7 @@ from tqdm import tqdm
print('Looking for NIfTI files...')
filepaths = list(Path(sys.argv[1]).glob('**/*.nii.gz'))
print('Looking for float 64 files...')
print('Checking which ones are float64...')
to_fix = []
for filepath in tqdm(filepaths):
......@@ -28,3 +28,5 @@ if to_fix:
nii = nib.load(str(filepath))
new = nib.Nifti1Image(nii.get_fdata(dtype=np.float32), nii.affine)
print('Nothing 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