-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
dvhcalc.get_interpolated_dose raises IndexError if no dose for z #215
Comments
I changed lines 490+ to the following:
But then dicompyler-core/dicompylercore/dvhcalc.py Lines 231 to 233 in de6a0ed
|
This was referenced Apr 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is no dose plane,
GetDoseGrid
returns an empty array. So anIndexError
is raised indvhcalc.get_interpolated_dose
when there is no dose plane:dicompyler-core/dicompylercore/dvhcalc.py
Lines 490 to 492 in de6a0ed
There is a check for an empty dose plane, but it occurs after
get_interpolated_dose
is called.dicompyler-core/dicompylercore/dvhcalc.py
Lines 206 to 213 in de6a0ed
The text was updated successfully, but these errors were encountered: