From dd9e78b6b07985b8a795a449098847f76adc7661 Mon Sep 17 00:00:00 2001 From: awegsche Date: Thu, 7 Dec 2023 15:11:14 +0100 Subject: [PATCH] moved B2 root to constants --- omc3/model/constants.py | 2 ++ omc3/model/model_creators/lhc_model_creator.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/omc3/model/constants.py b/omc3/model/constants.py index 9fdca903c..30233d9a9 100644 --- a/omc3/model/constants.py +++ b/omc3/model/constants.py @@ -39,3 +39,5 @@ ACCELERATOR_MODEL_REPOSITORY = Path("/afs/cern.ch/eng/acc-models") MODIFIER_BRANCH = "operation/optics" + +B2_ERRORS_ROOT = Path("/afs/cern.ch/eng/sl/lintrack/error_tables/") diff --git a/omc3/model/model_creators/lhc_model_creator.py b/omc3/model/model_creators/lhc_model_creator.py index 3780d1cdd..c367831d5 100644 --- a/omc3/model/model_creators/lhc_model_creator.py +++ b/omc3/model/model_creators/lhc_model_creator.py @@ -32,12 +32,11 @@ PATHFETCHER, AFSFETCHER, # GITFETCHER, LSAFETCHER, ACCELERATOR_MODEL_REPOSITORY, MODIFIER_BRANCH, + B2_ERRORS_ROOT, ) from omc3.model.model_creators.abstract_model_creator import ModelCreator, check_folder_choices from omc3.utils import iotools -B2_ERRORS_ROOT = pathlib.Path("/afs/cern.ch/eng/sl/lintrack/error_tables/") - LOGGER = logging.getLogger(__name__)