Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BCU-Vercors
ID26
id26
Commits
1d5a4f7a
Commit
1d5a4f7a
authored
Jun 15, 2022
by
bliss administrator
Browse files
fscan exception handling
parent
80f65d36
Pipeline
#77227
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
id26/controllers/fscan_controller.py
View file @
1d5a4f7a
...
...
@@ -395,6 +395,9 @@ class ID26FScanController:
#mot_group.move(*backlash_movement)
nbsteps
=
round
((
energy_end
-
energy_start
)
/
(
energy_step
))
assert
nbsteps
>
0
,
f
"energy step too large (
{
energy_step
}
) for that energy scan range (
{
energy_end
-
energy_start
}
)"
nbpoints
=
int
(
nbsteps
)
+
1
if
self
.
fscan_par
[
"id_linked"
]
==
1
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment