Skip to content
Snippets Groups Projects
Commit 4c9dbfae authored by BRONES Romain's avatar BRONES Romain
Browse files

Add option nolbp to command line interface

* this avoid lauchning the comlbp, and let the LBP outside of the com
* also tag version
parent 37bfa9d0
Branches dev_rcm
No related tags found
No related merge requests found
Pipeline #4522 failed
...@@ -14,4 +14,4 @@ This package is cut in several modules: ...@@ -14,4 +14,4 @@ This package is cut in several modules:
For basic usage, see doc of FofbTool.Utils For basic usage, see doc of FofbTool.Utils
""" """
__version__ = "2.4" __version__ = "2.5"
...@@ -77,6 +77,9 @@ if __name__ == '__main__': ...@@ -77,6 +77,9 @@ if __name__ == '__main__':
parser.add_argument("--align-fa", type=str, metavar="cellnode-cXX", 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.") 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", parser.add_argument("--start", action="store_true",
help="Start command for the CCN and ComBPM applications blocks.") help="Start command for the CCN and ComBPM applications blocks.")
parser.add_argument("--start-combpm", action="store_true", parser.add_argument("--start-combpm", action="store_true",
...@@ -140,7 +143,7 @@ if __name__ == '__main__': ...@@ -140,7 +143,7 @@ if __name__ == '__main__':
if args.sync: if args.sync:
FofbTool.Operation.sync_all_bpm() 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() FofbTool.Utils.start_all_comlbp()
if args.start or args.start_combpm: if args.start or args.start_combpm:
FofbTool.Utils.start_all_combpm() FofbTool.Utils.start_all_combpm()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment