From 5c2af4b01bac396e12274db83a86ac5b64d2b460 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Mon, 11 Sep 2023 08:45:38 +0200 Subject: [PATCH] [WIP] work on including SEA info --- commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.py b/commands.py index df53b44..8d80c68 100644 --- a/commands.py +++ b/commands.py @@ -39,7 +39,7 @@ if home not in sys.path: # for newer Frappy installations this should be home (= /home/) # the following line fixes this in case nicos.conf is not yet updated sys.path.append(home) -from servicemanager import FrappyManager, SeaManager +from servicemanager import FrappyManager def cleanup_defunct(): @@ -152,7 +152,7 @@ def frappy(*args, main=None, stick=None, addons=None): - addons are not changed when not given - frappy(main='') # main cfg is changed, but stick is kept """ - seacfg = SeaManager().guess_frappy_cfg(config.instrument) + seacfg = FrappyManager().cfg_from_sea(config.instrument) if args: if main is not None: raise TypeError('got multiple values for main')