Dose Area Product with zero value is handled incorrectly

Issue #565 resolved
Luuk created an issue

The value of the DAP is not shown for a rdsr with an event having a DAP value of 0 (and a very small reference dose) Also the skin dose mapping fails on this zero value. Reason is that

if dose_area_product:

is used and a float with zero value will evaluate to false

Comments (3)

  1. Luuk reporter

    Refs #565 Dose Area Product with zero value is handled incorrectly

    Changed 'if dap:' statements to try-except statements to handle zero values correctly.

    → <<cset 5152cb1f6925>>

  2. Log in to comment