mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-14 21:44:04 +01:00
fix(waveform): if scan id and scan number is provided, the scan is fetched from the scan id
This commit is contained in:
1 parent
df8065ea40
commit
e59f27a22d
2 files changed
+8
-7
No files matched your search
@@ -5149,11 +5149,11 @@ class Waveform(RPCBase):
|
||||
def update_with_scan_history(self, scan_index: "int" = None, scan_id: "str" = None):
|
||||
"""
|
||||
Update the scan curves with the data from the scan storage.
|
||||
Provide only one of scan_id or scan_index.
|
||||
If both arguments are provided, scan_id takes precedence and scan_index is ignored.
|
||||
|
||||
Args:
|
||||
scan_id(str, optional): ScanID of the scan to be updated. Defaults to None.
|
||||
scan_index(int, optional): Index of the scan to be updated. Defaults to None.
|
||||
scan_index(int, optional): Index (scan number) of the scan to be updated. Defaults to None.
|
||||
"""
|
||||
|
||||
@rpc_call
|
||||
|
||||
Reference in new issue
Block a user