Skip to content

Commit

Permalink
fix: disable progressbar in inner function
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwnvol committed Jul 4, 2024
1 parent def897e commit ee51638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commit/trk2dictionary/trk2dictionary.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit ee51638

Please sign in to comment.