diff --git a/src/ibek/gen_scripts.py b/src/ibek/gen_scripts.py index eecd2509d..fb11bbad8 100644 --- a/src/ibek/gen_scripts.py +++ b/src/ibek/gen_scripts.py @@ -61,6 +61,7 @@ def ioc_deserialize(ioc_instance_yaml: Path, definition_yaml: List[Path]) -> IOC # extract the ioc name into UTILS for use in jinja renders name = UTILS.render({}, ioc_instance_dict["ioc_name"]) UTILS.set_ioc_name(name) + ioc_instance_dict["ioc_name"] = name # Create an IOC instance from the instance dict and the model ioc_instance = ioc_model(**ioc_instance_dict) diff --git a/tests/samples/outputs/index.bob b/tests/samples/outputs/index.bob index 8645015d3..dfc016381 100644 --- a/tests/samples/outputs/index.bob +++ b/tests/samples/outputs/index.bob @@ -9,7 +9,7 @@ Title TITLE - {{ ioc_yaml_file_name }} - Index + all.ibek.ioc - Index 0 0 273