Closed TobiasSpohn closed 2 months ago
Could you test this hotfix branch?
This works for me, I can launch the toolchain again. I only get the warning / caught exception:
Scan settings in Status Variable empty or invalid, using defaults.
KeyError: 'x'
Traceback (most recent call last):
File "C:\qudi\qudi-iqo-modules\src\qudi\logic\scanning_optimize_logic.py", line 93, in on_activate
self._check_scan_settings()
File "C:\qudi\qudi-iqo-modules\src\qudi\logic\scanning_optimize_logic.py", line 377, in _check_scan_settings
ax.position.check(self.scan_range[name])
But this is also thrown when using previous main and launching the optimizer logic for the first time after clearing status variables.
Solved by PR #156.
Version
current main
What is affected by the bug?
Since #136 one can no longer start the POI manager toolchain.
poi_manager_logic
will throw an exception duringon_activate
. If no ROI has been saved as StatusVar before the module will not activate. The default creation of the ROI does not seem to work. I have inserted a warning message at the beginning of on_activate and as the log showsself._roi
isNone
. By switching to one commit before the merge of PR #136, not clearing the StatusVars and then activating the module on the current commit, POI toolchain launches.When does the bug occur?
It occurs during activation of
poi_manager_logic
with all StatusVars cleared.How do we replicate the issue?
poi_manager_logic
poi_manager_logic
Expected behavior
poi_manager_logic
starts and the correct default ROI is created if none is already present.Relevant log output
Additional Comments
No response
Contact Details
No response