Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/fastcs_eiger/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import faulthandler
from pathlib import Path
from typing import Optional

Expand Down Expand Up @@ -53,7 +54,10 @@ def ioc(
odin_ip: str | None = typer.Option(None, help="IP address of odin control server"),
odin_port: int = typer.Option(8888, help="Port of odin control server"),
log_level: LogLevel = LogLevel.TRACE,
interactive: bool = False,
):
faulthandler.enable()

ui_path = OPI_PATH if OPI_PATH.is_dir() else Path.cwd() / "opi"

configure_logging(log_level)
Expand All @@ -80,7 +84,7 @@ def ioc(
),
]
launcher = FastCS(controller, transports)
launcher.run()
launcher.run(interactive=interactive)


# test with: python -m fastcs_eiger
Expand Down
Loading