Openskin: set patient mass of zero leads to "extracted patient mass: 73,2 kg"

Issue #566 resolved
Luuk created an issue

If the patient mass is set to 0 kg in the rdsr, the patient mass used for skin dose will be 73,2 kg (which is fine), but it is also stated that this is the extracted patient mass.

To solve: in one should insert on line 75

pat_mass_source = u'assumed'

For patient height this is already done.

Comments (6)

  1. Luuk reporter

    By the way, the except statement can be condensed. Use

    except (ValueError, TypeError):
        pat_mass = 73.2

    Instead of 2 separate except statements. The same holds true for pat_height.

  2. Luuk reporter

    refs #566 Correctly show "assumed patient mass" in case of set value of zero

    Take care that if patient mass is set to 0 in the rdsr that it is noted as a assumed mass of 73.2 in the skin dose map merged 2 except statements to 1.

    → <<cset d055dc666092>>

  3. Log in to comment