Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DICOM JSON - Invalid DICOM file, expected header is missing #4543

Open
BrunoSkezi opened this issue Nov 22, 2024 · 0 comments
Open

[Bug] DICOM JSON - Invalid DICOM file, expected header is missing #4543

BrunoSkezi opened this issue Nov 22, 2024 · 0 comments
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@BrunoSkezi
Copy link

Describe the Bug

Hello,

I am using your script "dicom-json-generator.js" to generate the configuration JSON file that allows the "viewer" to read my DICOM files.
I have carefully followed the instructions on the page https://docs.ohif.org/configuration/dataSources/dicom-json, but when I run the script, I encounter this error message for certain series: "Error: Invalid DICOM file, expected header is missing."

These DICOM files were downloaded from Google Cloud Healthcare, so they should normally be well-formed.
Would you have an explanation or a solution to prevent the script from completely halting? For instance, is there a way to skip only the problematic files without causing an error that stops the entire script?

Steps to Reproduce

It is not possible to reproduce without DICOM file with error.

The current behavior

I have carefully followed the instructions on the page https://docs.ohif.org/configuration/dataSources/dicom-json, but when I run the script, I encounter this error message for certain series: "Error: Invalid DICOM file, expected header is missing."

The expected behavior

The expected behavior is for the script to run to completion and generate the JSON file.

OS

Ubuntu

Node version

10.2.5

Browser

Brave v1.73.91

@BrunoSkezi BrunoSkezi added the Awaiting Reproduction Can we reproduce the reported bug? label Nov 22, 2024
@BrunoSkezi BrunoSkezi changed the title [Bug] Invalid DICOM file, expected header is missing [Bug] DICOM JSON - Invalid DICOM file, expected header is missing Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
Development

No branches or pull requests

1 participant