sequencebasic not resilient to None
Got that stuff at BM05 HRTOMO today.
Maybe it's just because the expected detector was not turned on, but this probably can be mitigated in a better way.
Traceback (most recent call last):
File "/home/blissadm/local/ebs-tomo.git/tomo/sequencebasic.py", line 308, in init_sequence
if detector.camera_type.lower() == "pco":
AttributeError: 'NoneType' object has no attribute 'camera_type'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/blissadm/local/bliss.git/bliss/common/session.py", line 136, in load_module
exec(c_code, new_module.__dict__)
File "beacon:///users/blissadm/local/beamline_configuration/sessions/HRTOMO_setup.py", line 27, in <module>
z_series.init_sequence()
File "/home/blissadm/local/ebs-tomo.git/tomo/sequencebasic.py", line 311, in init_sequence
log_warning(self, f"{detector.name} server is not running")
AttributeError: 'NoneType' object has no attribute 'name'