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
cfel-sc-public
Kamzik3
Commits
0b533fa1
Commit
0b533fa1
authored
May 19, 2022
by
Jerome Carnis
🦊
Browse files
deviceEigerP11.py: declare `_recount_steps` as a static method
parent
a11357e4
Pipeline
#28480
passed with stages
in 11 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kamzik3/devices/deviceEigerP11.py
View file @
0b533fa1
...
...
@@ -346,8 +346,9 @@ class EigerScanner(DeviceScanner):
DeviceScanner
.
__init__
(
self
,
device_id
,
config
)
self
.
connect
()
@
staticmethod
def
_recount_steps
(
self
,
parent_macro
:
Macro
,
to_link
:
Optional
[
Union
[
Scan
,
Step
]]
=
None
parent_macro
:
Macro
,
to_link
:
Optional
[
Union
[
Scan
,
Step
]]
=
None
)
->
int
:
total_frames
=
1
for
link
in
parent_macro
.
chain
:
...
...
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