Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FofbTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DG
FOFB
FofbTool
Commits
df7e26f5
Commit
df7e26f5
authored
Jun 20, 2024
by
BRONES Romain
Browse files
Options
Downloads
Patches
Plain Diff
Add sync option to command line
(cherry-picked)
parent
15ea42a7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/FofbTool
+6
-1
6 additions, 1 deletion
scripts/FofbTool
with
6 additions
and
1 deletion
scripts/FofbTool
+
6
−
1
View file @
df7e26f5
...
...
@@ -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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment