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

Patch bytes preventing access to sequences below root #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RealVarHar
Copy link

I have hit a roadblock when working using nanodicom. SequenceOfUltrasoundRegions (0018,6011) was unavailable to what turns out was parent_vr persisting from parsing, meaning that this tag was being read as byte.
Im unable to fix the root of the problem so here's 1 line that should fix most of its occurrences

THE BUG:
parent_vr being a global variable for a file means that after reading ('OB', 'OW', 'OX') data from a dicom file and not reading its contents will lead to some tags of type SQ not working.

I have hit a roadblock when working using nanodicom. SequenceOfUltrasoundRegions 	(0018,6011) was unavailable to what turns out was parent_vr persisting from parsing, meaning that this tag was being read as byte.
Im unable to fix the root of the problem so here's 1 line that should fix most of its occurrences

THE BUG:
parent_vr being a global variable for a file means that after reading ('OB', 'OW', 'OX') data from a dicom file and not reading its contents will lead to some tags of type SQ not working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant