I don't like at all the implementation of mgmpe_check which defeats the purpose of using TOML (remember: TOML is meant to be converted into dictionaries!). However, rewriting mgmpe_check is outside the scope of this pull request. Here I am just fixing the tests so that https://github.com/gem/oq-engine/pull/9595 can be merged.
I don't like at all the implementation of
mgmpe_check
which defeats the purpose of using TOML (remember: TOML is meant to be converted into dictionaries!). However, rewritingmgmpe_check
is outside the scope of this pull request. Here I am just fixing the tests so that https://github.com/gem/oq-engine/pull/9595 can be merged.