From 4c9dbfae4c46389eaae52197ba2ecb1265a6d379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20BRON=C3=88S?= <romain.brones@synchrotron-soleil.fr> Date: Thu, 1 Aug 2024 14:48:22 +0200 Subject: [PATCH] Add option nolbp to command line interface * this avoid lauchning the comlbp, and let the LBP outside of the com * also tag version --- FofbTool/__init__.py | 2 +- scripts/FofbTool | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/FofbTool/__init__.py b/FofbTool/__init__.py index 36d8759..f0545d8 100644 --- a/FofbTool/__init__.py +++ b/FofbTool/__init__.py @@ -14,4 +14,4 @@ This package is cut in several modules: For basic usage, see doc of FofbTool.Utils """ -__version__ = "2.4" +__version__ = "2.5" diff --git a/scripts/FofbTool b/scripts/FofbTool index 9205cc6..3df7a66 100755 --- a/scripts/FofbTool +++ b/scripts/FofbTool @@ -77,6 +77,9 @@ if __name__ == '__main__': parser.add_argument("--align-fa", type=str, metavar="cellnode-cXX", help="Start alignement process for electron and brillance plus FA sequence. The designation of the cellnode must be set as argument.") + parser.add_argument("--nolbp", action="store_true", + help="Do not start comlbp module when doing start.") + parser.add_argument("--start", action="store_true", help="Start command for the CCN and ComBPM applications blocks.") parser.add_argument("--start-combpm", action="store_true", @@ -140,7 +143,7 @@ if __name__ == '__main__': if args.sync: FofbTool.Operation.sync_all_bpm() - if args.start or args.start_comlbp: + if (args.start or args.start_comlbp) and not args.nolbp: FofbTool.Utils.start_all_comlbp() if args.start or args.start_combpm: FofbTool.Utils.start_all_combpm() -- GitLab