diff --git a/nifti2dicom/converter.py b/nifti2dicom/converter.py index e7a2baa..556e25e 100644 --- a/nifti2dicom/converter.py +++ b/nifti2dicom/converter.py @@ -511,7 +511,7 @@ def process_slice(idx, slice, output_dir, nifti_img): image_array_slice = sitk.GetArrayFromImage(nifti_img)[idx] filename = f"slice_{idx}.dcm" save_slice(slice, image_array_slice, series_description, filename, output_dir, slice.Modality) - progress.update(task, advance=1, description=f"[white] Writing RGB DICOM slices... [{idx}/{total_slices}]") + progress.update(task, advance=1, description=f"[white] Writing DICOM slices... [{idx}/{total_slices}]") with ThreadPoolExecutor() as executor: for idx, slice in enumerate(dicom_slices):