Commit 2b825cb0 authored by Lukas Riedel's avatar Lukas Riedel 📝

Adapt ODE evaluation test script to new mapping keys

parent ecf4fbd1
...@@ -24,7 +24,7 @@ def evaluate(iniinfo,runtime): ...@@ -24,7 +24,7 @@ def evaluate(iniinfo,runtime):
# get parameter data # get parameter data
param_data = read_yml(iniinfo["richards.parameters.file"]) param_data = read_yml(iniinfo["richards.parameters.file"])
mapping_file = iniinfo["grid.mappingFile"] mapping_file = iniinfo["grid.mapping.file"]
# homogeneous setting # homogeneous setting
if mapping_file in ["None", "none", ""]: if mapping_file in ["None", "none", ""]:
...@@ -41,7 +41,7 @@ def evaluate(iniinfo,runtime): ...@@ -41,7 +41,7 @@ def evaluate(iniinfo,runtime):
# 1D heterogeneity # 1D heterogeneity
else: else:
mapping_dataset = iniinfo["grid.mappingFileDataset"] mapping_dataset = iniinfo["grid.mapping.volume"]
mapping = read_h5_dataset(mapping_file, mapping_dataset) mapping = read_h5_dataset(mapping_file, mapping_dataset)
# check mapping shape # check mapping shape
......
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