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.
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.