Skip to content

Fixing Key error in data dict in Callback

Alexander Froch requested to merge alfroch-fix-val-data-loading into master

This MR fixes an issue of the loading of the validation data in the callback functions. If no add_validation_file is defined, the *_add variables are not added to the data_dict when loading the validation data. This causes an error later when trying to find them.
This is now fixed with filling it properly with a None when no add_validation_file is given.

Merge request reports