diff --git a/src/fastcs/launch.py b/src/fastcs/launch.py index 653543764..7ffe06fc0 100644 --- a/src/fastcs/launch.py +++ b/src/fastcs/launch.py @@ -77,7 +77,7 @@ def create_docs(self) -> None: def create_gui(self) -> None: for transport in self._transports: if hasattr(transport.options, "gui"): - transport.create_docs() + transport.create_gui() def run(self): self._loop.run_until_complete( diff --git a/src/fastcs/transport/epics/gui.py b/src/fastcs/transport/epics/gui.py index f07a63572..6412aa20d 100644 --- a/src/fastcs/transport/epics/gui.py +++ b/src/fastcs/transport/epics/gui.py @@ -116,6 +116,7 @@ def create_gui(self, options: EpicsGUIOptions | None = None) -> None: raise FastCSException("FastCS does not support .edl screens.") assert options.output_path.suffix == options.file_format.value + options.output_path.parent.mkdir(parents=True, exist_ok=True) controller_mapping = self._controller.get_controller_mappings()[0] components = self.extract_mapping_components(controller_mapping)