View in #ohif on Slack
@Ramón_Emiliani: Hello 
I’m experiencing an issue when trying to load local DICOM files using OHIF v3.9.2. When I attempt to open a local file, I receive the following error:
Cannot destructure property 'pixelRepresentation' of '(0 , _metaData__WEBPACK_IMPORTED_MODULE_0__.get)(...)' as it is undefined.
Here’s what I’ve discovered so far**:**
-
File Involved: makeVolumeMetadata.js
◦ The get
function within this file consistently returns undefined
.
-
Function Analysis:
◦ Function: getMetadata
in metaData.js
◦ Behavior: This function iterates through the providers to return queries but ultimately always returns undefined
.
-
Possible Cause:
◦ I suspect the correct provider should be the function located in MetadataProvider.ts
.
• Issue with imageId
:
︎ The imageId
being passed is formatted as dicomFile:3
.
︎ However, the cachedUIDS
are formatted as dicomFile:3&frame=1
.
◦ This discrepancy might be causing the get
function to fail in retrieving the necessary metadata.
Has anyone encountered a similar problem or have any insights on how to resolve this**?** Any assistance or suggestions would be greatly appreciated!
Thank you!
Edit:
seems to have been fixed here: https://github.com/OHIF/Viewers/commit/ec4b5a6876cea77278e5cffaf4108eeeefdc57dc
@Alireza_Sedghi: there is a PR that is fixing it
it is called recoverty 3
@Ramón_Emiliani: Thanks @Alireza_Sedghi 