cutright / DVH-Analytics

A DICOM Database Application for Radiation Oncology
Other
82 stars 30 forks source link

Incorrect DVHs when importing multiple patients with Dose Summations #94

Closed cutright closed 4 years ago

cutright commented 4 years ago

I'm observing incorrect DVH calculations when the DVHA dose summation is used for multiple patients. I suspect the first dose summation grid is getting used for later patients, but I'm not sure yet.

Windows 7. DVHA v0.8.4 executable.

Work-around: Re-importing the patients one at time, and still using the DVHA dose summation, yields correct results.

cutright commented 4 years ago

Same issue observed when importing the same dataset on macOS with the DVHA v0.8.4 executable.

cutright commented 4 years ago

The function below was missing the line incrementing the counter. I'll push to PyPI and make new executables shortly.

https://github.com/cutright/DVH-Analytics/blob/3b6989b91d788f7adc0ea04e7ba4c8d1736912b0/dvha/models/import_dicom.py#L1532-L1545

cutright commented 4 years ago

Fixed in v0.8.5