-
Notifications
You must be signed in to change notification settings - Fork 113
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
Enable a force write option for files with abnormal VRs #162
Comments
Hey @pieper, I hope you're doing well. In addition to the ability to write an invalid file, we also were hoping validate dcmjs DicomDicts somehow. Can you confirm that neither of these features are present in |
👋 @johndgiese and @ejcurtis - yes, I think if it's exposed in an options object with a name like When you say validating DicomDicts do you mean something like dciodvfy? Yes, I think that would be very nice. Either as a part of dcmjs or as another package in dcmjs-org. |
Thanks @pieper , we'll checkout the Thanks for the quick response. |
Sounds good @johndgiese. I've often thought we could do a json schema for this but never took it past the concept stage. Looking forward to seeing your editor someday. |
Sounds great, I also wanted dcmjs to have an option like "allowInvalidVRLength". Thank you so much. |
Thank you all for the quick responses! I am excited to continue to explore the |
Glad to see progress on this! It would be great if you could keep example instances that represent edge cases that need to be handled. So far we have this data repository and are hoping to be able to host a DICOMweb store instance where they can be made available for CI testing. We're trying to find a way to capture ad hoc gotcha cases so we have better interoperability across tools. We want to host this in a way that won't result in out of control hosting costs. |
@pieper I would be happy to share our DICOM file that presented the error discussed. @johndgiese is this file able to be shared (i.e. has no PII) with this data repository? |
@ejcurtis I'm pretty sure it doesn't, but I'd check in the editor as well as with Russell. |
Hey @pieper, I was just working on uploading the CT file that caused the error we were discussing to dcmjs-org data, but I do not have access rights to upload a file. Would you like me to email you the file or grant me access to the repo? |
Thanks @pieper, I pushed a pr for the new file in case you wanted to approve before committing it to master. |
Hi @ejcurtis and @johndgiese I just wanted to check how the development of "allowInvalidVRLength" option is going. |
We’re busy with other priorities at the moment. I’m not sure when we’ll get to this.
… On Mar 3, 2021, at 5:29 PM, Woonchan Cho ***@***.***> wrote:
Hi @ejcurtis and @johndgiese I just wanted to check how the development of "allowInvalidVRLength" option is going.
I recently see a lot of cases where we need to use the options in my own project. I just wanted to know a rough timeline when you will raise a PR for this feature. Feel free to tell me if there is anything I can help you on this too.
Thank you so much.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@johndgiese thank you for your reply. I see, then let me work on this and push a PR first. You can improve or overhaul it when you have time on this. |
Hi all, I am a developer on the Dicom Standard Browser. We are using dcmjs to view and edit .dcm files in the browser. At the moment, the only files we can do this with are those that pass all of the VR validation in this file. Some of the files we are manipulating have abnormal VR's but we would still like to be able to write them to a file. We were wondering if there could be an option to force the file to write, even if some fields do not match their VR.
For reference: One of the errors we got is shown below
In this instance, we would like to be able to force that field to write to the file even if the value exceeds its max characters.
I am tagging @johndgeise to give more context.
The text was updated successfully, but these errors were encountered: