Skip to content

GUL alloc rule range in MDK has not been updated to reflect addition of rule 3 #1120

Closed
@hchagani-oasislmf

Description

Issue Description

When setting GUL alloc rule 3 was introduced in gulcalc (ktools v3.9.3) to calculate the total peril loss using the multiplicative method (please see issue OasisLMF/ktools#118 for more details). However, setting ktools_alloc_rule_gul equal to 3 in the MDK configuration file results in the following error:

$ oasislmf model run
.
.
.
Error: ktools_alloc_rule_gul=3 - Not within valid ranges [0..2]

Steps to Reproduce (Bugs only)

Run the PiWind model:

$ oasislmf model run --ktools-alloc-rule-gul 3

Version / Environment information

MDK LTS v1.23.13, which uses ktools v3.9.3.

Metadata

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions