rvbCMTS / PySkinDose

MIT License
12 stars 4 forks source link

Add fix to handle missmatch of blankspaces in Machine model names in corrections.py #41

Closed BwKodex closed 2 years ago

BwKodex commented 2 years ago

In #27 Witty159 found an error where a TypeError is reported for the k_tab calculation for Allura Clarity.

After debugging I found that the error comes from the data in the underlying PySkinDose data the machine modelname is spelled AlluraClarity while in the DICOM data it is spelled Allura Clarity with an included blankspace.

My suggested fix is to rewrite the SQL query to handle a possible extra blank space in the name.

MaxHellstrom commented 2 years ago

solved in #43