victorgabr / ApertureComplexity

Python 3.x port of the Eclipse ESAPI plug-in script used in the study : Predicting deliverability of volumetric-modulated arc therapy (VMAT) plans using aperture complexity analysis
GNU General Public License v3.0
24 stars 8 forks source link

Fix for break where index out in get_jaw_position with Francisco Penaloza #5

Closed brianmanderson closed 1 year ago

brianmanderson commented 1 year ago

We encountered an issue where the index was out of range running on the test data. It appears that the control points only include jaw position sometimes. For this reason we updated the code to take the previous jaw position when available.

Also it appeared to function on a Mac, but not Windows computer.

victorgabr commented 1 year ago

Hey Brian,

I will test on both MacOS and windows. I tried to implement jaw-tracking parsing but needed to test it more comprehensively. Thanks for submitting this pull request.

Victor