Open tensfeldt opened 3 years ago
The root cause of this issue has been identified. If DOSE units are missing from the input dataset when a DOSE is imputed as a unit dose, they cannot be found in the unit_conversion for processing within Unit Class 14 (Volume/Weight - body weight normalized volumes) or Unit Class 15 (Volume/Time/Body Weight - body weight normalized clearances).
A workaround in advance of a code fix is to add a DOSE unit to the input dataset and ensure that the model configuration template is configured to point to that data field. If this is done, parameter results are generated as expected.
Issue is addressed in openNCA CE release 3.0.3 (not yet committed to repo - will update comment when git history cleaned up and pushed)
This is issue was identified with release 3.0.2 and testcase tc2103. Dataset has no DOSE nor DOSEUNI fields which ordinarily would cause initiate utilization of a unit DOSE value of 1 (one) dose unit.
However, with this test case (haven't identified others at this point) an error is generated that causes the code to exit and stop. This may be occurring within the unit_conversion code since the error message appears after the messages generated from unit_conversion pass within the code.
This behavior doesn't appear to be related to the presence of "DOSE" in RETURNCOLS for the model configuration template as once DOSE is removed, the error persists.