You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using create_dicom_from_oct, the following AttributeError occurs seemingly when there are characters like ä or ö in patient's name:
dcm = create_dicom_from_oct(f)
File "D:\Python\Lib\site-packages\oct_converter\dicom\dicom.py", line 413, in create_dicom_from_oct
files = create_dicom_from_e2e(input_file, output_dir, extract_scan_repeats)
File "D:\Python\Lib\site-packages\oct_converter\dicom\dicom.py", line 489, in create_dicom_from_e2e
fundus_images = e2e.read_fundus_image(extract_scan_repeats=extract_scan_repeats)
File "D:\Python\Lib\site-packages\oct_converter\readers\e2e.py", line 395, in read_fundus_image
patient_id=self.patient_id, AttributeError: 'E2E' object has no attribute 'patient_id'
I was wondering if there's a way to handle these characters, too?
BR,
Tomi
The text was updated successfully, but these errors were encountered:
Hi,
When using create_dicom_from_oct, the following AttributeError occurs seemingly when there are characters like ä or ö in patient's name:
dcm = create_dicom_from_oct(f)
File "D:\Python\Lib\site-packages\oct_converter\dicom\dicom.py", line 413, in create_dicom_from_oct
files = create_dicom_from_e2e(input_file, output_dir, extract_scan_repeats)
File "D:\Python\Lib\site-packages\oct_converter\dicom\dicom.py", line 489, in create_dicom_from_e2e
fundus_images = e2e.read_fundus_image(extract_scan_repeats=extract_scan_repeats)
File "D:\Python\Lib\site-packages\oct_converter\readers\e2e.py", line 395, in read_fundus_image
patient_id=self.patient_id,
AttributeError: 'E2E' object has no attribute 'patient_id'
I was wondering if there's a way to handle these characters, too?
BR,
Tomi
The text was updated successfully, but these errors were encountered: