Apply suggestions from code review of branch yet-another-smart-scan-refactor
This commit is contained in:
parent
2e6ba73345
commit
5f092835ac
1 changed files with 3 additions and 1 deletions
|
|
@ -130,7 +130,9 @@ class SmartScanThing(lt.Thing):
|
|||
self._stage = stage
|
||||
self._cam = cam
|
||||
self._csm = csm
|
||||
# Confirm scan data is None as start of scan.
|
||||
# `scan_data` should already be None. This is added as a precaution as
|
||||
# the presence of `scan_data` is used during error handling to
|
||||
# determine whether the scan started.
|
||||
self._scan_data = None
|
||||
try:
|
||||
self._check_background_and_csm_set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue