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

Fixed corrupt data bug for sequence creation that created a warning in our treatment planning software #105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MLK97
Copy link

@MLK97 MLK97 commented Feb 19, 2024

We observed a warning message shown after loading an RTStruct in one of our treatment planning software.
This warning can be seen in the following screenshot

billede

We were able to fix this by giving the condition that a CLOSED_PLANAR contour type needs to contain at least 2 data points in order to be added to the contour sequence (this was not always the case and we saw cases where the number of contour points only contained one data point.

We are also aware that the Contour Geometric Type is currently hardcoded in the create_contour method.
To future-proof our bug fix we added the or condition which would theoretically allow for adding a POINT contour type in the conversion without issues arising from our change.

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.

2 participants