Skip to content

Commit

Permalink
Merge pull request #116 from DiamondLightSource/gui-fixes
Browse files Browse the repository at this point in the history
Gui fixes
  • Loading branch information
GDYendell authored Jan 27, 2025
2 parents 57316cd + d051427 commit a069f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastcs/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions src/fastcs/transport/epics/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a069f9f

Please sign in to comment.