Commit 0b533fa1 authored by Jerome Carnis's avatar Jerome Carnis 🦊
Browse files

deviceEigerP11.py: declare `_recount_steps` as a static method

parent a11357e4
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment