File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
__all__ = ["main" ]
9
9
10
+
10
11
def main (args : Sequence [str ] | None = None ) -> None :
11
12
"""Argument parser for the CLI."""
12
13
parser = ArgumentParser ()
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ class EpicsGUIFormat(Enum):
38
38
bob = ".bob"
39
39
edl = ".edl"
40
40
41
+
41
42
@dataclass
42
43
class EpicsGUIOptions :
43
44
output_path : Path = Path .cwd () / "output.bob"
Original file line number Diff line number Diff line change 4
4
5
5
6
6
class FastCS :
7
-
8
- def __init__ (self , controller : Controller , options : EpicsOptions | TangoOptions ):
7
+ def __init__ (self , controller : Controller , options : EpicsOptions | TangoOptions ):
9
8
match options :
10
9
case EpicsOptions ():
11
10
self .backend = EpicsBackend (controller , options )
@@ -20,4 +19,3 @@ def create_gui(self) -> None:
20
19
21
20
def run (self ) -> None :
22
21
self .backend .run ()
23
-
You can’t perform that action at this time.
0 commit comments