Skip to content

Commit

Permalink
solving save function bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedNasser8 committed Sep 4, 2024
1 parent 4df8bcd commit 9b7a275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osipi/DRO/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def save_dicoms(outdir, original_dicom, signal, patient_id_num, study_instance_u
z = 0
for entries in new_dicoms:
t = 0
for snap in new_dicoms["{}".format(entries)]:
for snap in new_dicoms[z]:
SOPInstanceUID = pydicom.uid.generate_uid(prefix=uidprefix)
snap.PatientID = patient_id_num
snap.SOPInstanceUID = SOPInstanceUID
Expand Down

0 comments on commit 9b7a275

Please sign in to comment.