Skip to content

Commit

Permalink
Override UI names
Browse files Browse the repository at this point in the history
  • Loading branch information
GDYendell committed May 16, 2024
1 parent bd4133f commit e1459eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/odin_fastcs/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from pathlib import Path
from typing import Optional

import typer
from fastcs.backends.asyncio_backend import AsyncioBackend
from fastcs.backends.epics.gui import EpicsGUIOptions
from fastcs.connections.ip_connection import IPConnectionSettings
from fastcs.mapping import Mapping

Expand Down Expand Up @@ -45,7 +47,7 @@ def ioc(pv_prefix: str = typer.Argument()):
mapping = get_controller_mapping()

backend = EpicsBackend(mapping, pv_prefix)
backend.create_gui()
backend.create_gui(options=EpicsGUIOptions(output_path=Path.cwd() / "odin.bob"))
backend.get_ioc().run()


Expand Down

0 comments on commit e1459eb

Please sign in to comment.