exasim-project / OBR

A runner for OpenFOAM benchmarks
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Add warning if yaml has extra keywords #167

Closed greole closed 8 months ago

greole commented 10 months ago

Currently, one can add extra key value pairs to the yaml file. This has the downside that the unused kvp end up in the statepoint and determine the uid. Additionally, they might add conflicting entries for the queries.

lupeterm commented 10 months ago

This could be resolved by keeping track of all the keys (of each depth?) and throwing/warning when duplicate keys are set.

greole commented 8 months ago

I close this for now. Since https://github.com/hpsim/OBR/pull/187 adds the functionality to conditionally create cases based on parent statepoint key value pairs. These key value pairs might contain extra keywords that are not necessarily used in an operation.