The TS-GitLab will have to shut down towards the end of the year — please think about migrating your projects to GitLab.com or GitHub.
(This is still a very early message, meant to keep you informed. There will be more urgent ones in the future.)

Commit 2b825cb0 authored by Lukas Riedel's avatar Lukas Riedel
Browse files

Adapt ODE evaluation test script to new mapping keys

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