From ee516380307d200dc51967c3c373f400f90503c9 Mon Sep 17 00:00:00 2001 From: nightwnvol Date: Thu, 4 Jul 2024 16:35:16 +0200 Subject: [PATCH] fix: disable progressbar in inner function --- commit/trk2dictionary/trk2dictionary.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit/trk2dictionary/trk2dictionary.pyx b/commit/trk2dictionary/trk2dictionary.pyx index 41e7af3..db35f4a 100644 --- a/commit/trk2dictionary/trk2dictionary.pyx +++ b/commit/trk2dictionary/trk2dictionary.pyx @@ -635,7 +635,7 @@ cpdef run( filename_tractogram=None, path_out=None, filename_peaks=None, filenam v = np.fromfile( join(path_out, 'dictionary_IC_v.dict'), dtype=np.uint32 ) l = np.fromfile( join(path_out, 'dictionary_IC_len.dict'), dtype=np.float32 ) - niiTDI_mem = compute_tdi( v, l, Nx, Ny, Nz, verbose ) + niiTDI_mem = compute_tdi( v, l, Nx, Ny, Nz, verbose=0 ) niiTDI_img_save = np.reshape( niiTDI_mem, (Nx,Ny,Nz), order='F' ) niiTDI = nibabel.Nifti1Image( niiTDI_img_save, TDI_affine )