From db61f65f5b382d9726a0ec94f2d2423dd7dad64d Mon Sep 17 00:00:00 2001 From: Ollie Copping Date: Tue, 18 Nov 2025 13:25:39 +0000 Subject: [PATCH] Fix __main__.py descriptions Also fix default bob file --- src/techui_builder/__main__.py | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/src/techui_builder/__main__.py b/src/techui_builder/__main__.py index 981a14fb..a9db3e27 100644 --- a/src/techui_builder/__main__.py +++ b/src/techui_builder/__main__.py @@ -29,13 +29,14 @@ | `-- config\n | `-- ioc.yaml\n `-- synoptic\n + . |-- techui_support/\n + | | `-- ...\n . |-- techui.yaml\n - . `-- opis-src\n - . `-- index-src.bob\n + . `-- index.bob\n """, ) -default_bobfile = "index-src.bob" +default_bobfile = "index.bob" def version_callback(value: bool): @@ -95,23 +96,6 @@ def main( gui = Builder(techui=filename) - # This next part is assuming the file structure: - # - # ixx-services - # |-- services - # | |-- blxxi-ea-device-01 - # | | `-- config - # | | `-- ioc.yaml - # | |-- ... - # | `-- blxxi-va-device-01 - # | `-- config - # | `-- ioc.yaml - # `-- synoptic - # . |-- techui.yaml - # . `-- opis-src - # . `-- index-src.bob - # - # Get the relative path to the techui file from working dir abs_path = filename.absolute() LOGGER.debug(f"techui.yaml absolute path: {abs_path}")