Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Update dicomgui.py #111

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

Conversation

gertsikkema
Copy link

6 missing 'break' statements added. This repairs some strange features importing data. In my case it would never find the structured data (RTSS), while I knew it was there.
These 6 bug fixes assume that there is always exactly one and one match.When this one match is found it applies a 'break' statement to the 'for' loop. However, I am not sure if there could be more than one match in the DICOM header data (more entries in a sequence?)

So please check if this does not jeopardize how the code should work... for my particular data cases it is an improvement.

6 missing 'break' statements added. This repairs some strange features importing data. In my case it would never find the structured data (RTSS), while I knew it was there.
These 6 bug fixes assume that there is always exactly one and one match.When this one match is found it applies a 'break' statement to the 'for' loop. However, I am not sure if there could be more than one match in the DICOM header data (more entries in a sequence?) 

So please check if this does not jeopardize how the code should work... for my particular data cases it is an improvement.
@bastula
Copy link
Owner

bastula commented May 1, 2018

I will look into this shortly. I know there are some conditions that it doesn't work with, but are you able to provide some example (anonymized) data to test with?

I eventually wanted to refactor the logic behind dicomgui.py into a new module inside dicompyler-core to isolate the study / series linkages.

@gertsikkema
Copy link
Author

gertsikkema commented May 2, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants