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
Hello,
Thank you for creating hvf-extraction-script 0.0.4!
I saved DICOM file directly from Zeiss FORUM both pdf and DICOM format. I followed your code documentation.
I changed pdf to jpg and thing works well, but for the same patient file in DICOM, it does not work.
Here is what I got:
File ~/anaconda3/lib/python3.10/site-packages/hvf_extraction_script/hvf_data/hvf_object.py:417, in Hvf_Object.get_hvf_object_from_dicom(cls, dicom_ds)
414 hvf_metadata[Hvf_Object.KEYLABEL_LATERALITY] = field;
416 # ===== FOVEA =====
--> 417 field = str(dicom_ds.FovealSensitivityMeasured)
419 if (field == "YES"):
420 field = float(str(dicom_ds.FovealSensitivity));
File ~/anaconda3/lib/python3.10/site-packages/pydicom/dataset.py:908, in Dataset.getattr(self, name)
906 return {}
907 # Try the base class attribute getter (fix for issue 332)
--> 908 return object.__getattribute__(self, name)
AttributeError: 'FileDataset' object has no attribute 'FovealSensitivityMeasured'
I just wonder if I have done anything wrong or there is any error in my own files
sorry I'm not good at coding but Thank you for your kindness:)
gaew
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for creating hvf-extraction-script 0.0.4!
I saved DICOM file directly from Zeiss FORUM both pdf and DICOM format. I followed your code documentation.
I changed pdf to jpg and thing works well, but for the same patient file in DICOM, it does not work.
Here is what I got:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[44], line 1
----> 1 hvf_obj =
Hvf_Object.get_hvf_object_from_dicom(hvf_dicom)
File ~/anaconda3/lib/python3.10/site-packages/hvf_extraction_script/hvf_data/hvf_object.py:417, in Hvf_Object.get_hvf_object_from_dicom(cls, dicom_ds)
414 hvf_metadata[Hvf_Object.KEYLABEL_LATERALITY] = field;
416 # ===== FOVEA =====
--> 417 field =
str(dicom_ds.FovealSensitivityMeasured)
419 if (field == "YES"):
420 field = float(str(dicom_ds.FovealSensitivity));
File ~/anaconda3/lib/python3.10/site-packages/pydicom/dataset.py:908, in Dataset.getattr(self, name)
906 return {}
907 # Try the base class attribute getter (fix for issue 332)
--> 908 return
object.__getattribute__(self, name)
AttributeError: 'FileDataset' object has no attribute 'FovealSensitivityMeasured'
I just wonder if I have done anything wrong or there is any error in my own files
sorry I'm not good at coding but Thank you for your kindness:)
gaew
The text was updated successfully, but these errors were encountered: