Closed sveneggimann closed 5 years ago
After investigation, this error is caused by an incorrect narrative variant name in the model run config. This should raise a friendly error e.g. "The narrative variant 'does not exist' does not exist in the variants of narrative mode
.
This is a validation issue, and should be picked up in validation.py
. At present, validation code is not called from the builder. Suggest adding a flag to the cli to optionally run validation upon building a model run (see issue #343).
Adding a new narrative results in the following error message which is unhelpful to diagnose what the issue is. Replacing the narrative construct with an empty dict in the yaml configuration file removes the source of the error.