[Test] Update richards parameter keyword

parent 425815b0
......@@ -36,7 +36,7 @@ def evaluate(iniinfo,runtime):
if mapping_file in ["None", "none", ""]:
medium_index = int(mapping_dataset)
param = get_parameter_data(medium_index, volumes=param_data["volumes"])
param_type = param["water_flow"]["type"]
param_type = param["richards"]["type"]
if param_type != "MvG":
raise NotImplementedError("This testing function only supports "
"Mualem van Genuchten parameterizations. "
......@@ -59,7 +59,7 @@ def evaluate(iniinfo,runtime):
cell = math.floor(y * mapping.shape[0] / extensions[-1])
index = mapping[cell, ...].flatten()
param = get_parameter_data(index, volumes=param_data["volumes"])
param_type = param["water_flow"]["type"]
param_type = param["richards"]["type"]
if param_type != "MvG":
raise NotImplementedError("This testing function only supports "
"Mualem van Genuchten parameterizations. "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment