cutright / IMRT-QA-Data-Miner

Scans a directory for IMRT QA results
MIT License
13 stars 5 forks source link

Selecting gamma criteria other than "Any" produces empty plot #23

Closed mchamberland closed 4 years ago

mchamberland commented 4 years ago

When I unselect "Any" then select another gamma criteria to plot, I get an IndexError: list index out of range on line 302 of trending_arccheck.py..

It looks like by the time it gets to that line, the x and y lists are empty.

mchamberland commented 4 years ago

Found the bug:

Line 122 in trending_arccheck.py

This returns, for example, "3%/3mm", but this gets compared to "3.0%/3.0mm", which is not the same string.

mchamberland commented 4 years ago

I think a similar bug is present in trending_delta4.py.

cutright commented 4 years ago

I think I caught that in my NM branch.

There’s a new gamma selection set up there too so you plot only reports that are not any of 2/2, 3/2, etc.

mchamberland commented 4 years ago

Yes, it's fixed in the arccheck_nm branch.