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

RTReferencedStudySequence not present in RTSTRUCT dicom file? #33

Closed
IlvaHou55 opened this issue Dec 6, 2021 · 2 comments · Fixed by #38
Closed

RTReferencedStudySequence not present in RTSTRUCT dicom file? #33

IlvaHou55 opened this issue Dec 6, 2021 · 2 comments · Fixed by #38

Comments

@IlvaHou55
Copy link

Hi,

Because the attribute RTReferencedStudySequence is of type 3 (optional) it can be the case this is omitted in the RTSTRUCT dicom file. Because of this, an error message in validate_rtstruct_series_references.py occurs, when I try to convert the RTSTRUCT contour into a 3D mask in python.

Is this attribute really necessary and can you work around this issue?

Thank you!

@IlvaHou55
Copy link
Author

UPDATE: Just commenting out the part where validate_rtstruct_series_references.py is called, worked for my application.

@asim-shrestha
Copy link
Contributor

Hi @IlvaHou55 thank you for reaching out! That method is a sort of sanity check measure to ensure the RTStruct you have input is indeed only accessing files from the series you have input.

Given that the value is optional, I'll put a work around in sometime this week for when the value is not present.

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 a pull request may close this issue.

2 participants