Skip to content
Merged
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
5 changes: 4 additions & 1 deletion src/fastcs/transport/epics/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@
Waveform,
)
from fastcs.exceptions import FastCSError
from fastcs.logging import bind_logger
from fastcs.util import numpy_to_fastcs_datatype, snake_to_pascal

from .options import EpicsGUIFormat, EpicsGUIOptions

logger = bind_logger(logger_name=__name__)


class EpicsGUI:
"""For creating gui in the EPICS transports."""
Expand Down Expand Up @@ -145,7 +148,7 @@ def create_gui(self, options: EpicsGUIOptions | None = None) -> None:
options = EpicsGUIOptions()

if options.file_format is EpicsGUIFormat.edl:
raise FastCSError("FastCS does not support .edl screens.")
logger.warning("FastCS may not support all widgets in .edl screens")

assert options.output_path.suffix == options.file_format.value
options.output_path.parent.mkdir(parents=True, exist_ok=True)
Expand Down