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

Add sync option to command line

(cherry-picked)
parent 15ea42a7
Branches
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@ if __name__ == '__main__':
# Safer import: add the parent dir in path
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import FofbTool.Utils
import FofbTool.Operation
import FofbTool.Configuration # Still needs for one function, TODO
......@@ -74,6 +75,8 @@ if __name__ == '__main__':
parser.add_argument("--start-ccn", action="store_true",
help="Start command for the ComBPM applications blocks.")
parser.add_argument("--sync", action="store_true",
help="Start synchronization sequence for Libera Electron and Libera Brillance Plus.")
args = parser.parse_args()
......@@ -123,6 +126,9 @@ if __name__ == '__main__':
if args.configure in ("corr", "all"):
FofbTool.Configuration.centralnode_configure_corr()
if args.sync:
FofbTool.Operation.sync_all_bpm()
if args.start or args.start_comlbp:
FofbTool.Utils.start_all_comlbp()
if args.start or args.start_combpm:
......@@ -132,4 +138,3 @@ if __name__ == '__main__':
if not args.align_fa is None:
FofbTool.Utils.align_all_ccn(args.align_fa, force=args.force)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment