Skip to content

Commit

Permalink
Adding the subjects progression in the progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasser Alemán Gómez committed May 25, 2024
1 parent bb292f1 commit 6dc1200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clabtoolkit/dicomtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _org_conv_dicoms(in_dic_dir: str,
# results = list(executor.map(_copy_dicom_file, dicom_files,
# [subj_id] * ndwis, [out_dic_dir] * ndwis, [ses_id] * ndwis, [date_times] * ndwis, [demobool] * ndwis, [subTB] * ndwis, [boolforce] * ndwis))

t1 = pb.add_task('[red]Copying DICOMs', total=ndics)
t1 = pb.add_task(f'[red]Copying DICOMs: Subject {cont_subj + 1}/{n_subj} ', total=ndics)

for cont_dic, dfiles in enumerate(dicom_files):
ser_dir = _copy_dicom_file(dfiles, subj_id, out_dic_dir, ses_id, date_times, demobool, subTB, boolforce)
Expand Down

0 comments on commit 6dc1200

Please sign in to comment.