Writer does not accept detector shapes with zeros in them
Reported by @berruyer at BM23
class NexusScanWriterBase(base_subscriber.BaseSubscriber):
def _detector_data_info(self, node):
...
detector_shape = node.shape
# TODO: this fixes the missing fluo_sp0 problem (to be investigated)
if detector_shape is not None:
info["detector_shape"] = detector_shape
#if detector_shape is not None and all(detector_shape):
# info["detector_shape"] = detector_shape
Edited by Wout De Nolf