Closed arnobaer closed 8 months ago
If a measurement raises a ComplianceError in module sqc.strategy, local variable result is not defined, resulting in an unhanded exception aborting the measurement sequence: https://github.com/hephy-dd/sqc/blob/15daea5e334ba3f798d96a8d69521f8713d7fdf0/sqc/strategy.py#L509-L523
ComplianceError
sqc.strategy
Solution: define result = False before the try-except block.
result = False
If a measurement raises a
ComplianceError
in modulesqc.strategy
, local variable result is not defined, resulting in an unhanded exception aborting the measurement sequence: https://github.com/hephy-dd/sqc/blob/15daea5e334ba3f798d96a8d69521f8713d7fdf0/sqc/strategy.py#L509-L523Solution: define
result = False
before the try-except block.