Skip to content
Snippets Groups Projects

DetectorAssembler: go to ERROR if trying to match without geometry

Merged David Hammer requested to merge detectorassembler-error-without-geometry into master
Files
8
@@ -13,10 +13,6 @@ class BaseArbiterKernel:
self._name = name
self.reconfigure(config)
@property
def geometry(self):
return self._device._geometry
@staticmethod
def extend_device_schema(schema, prefix):
"""Should add configurability to the arbiter (matcher) the kernel will be
@@ -38,6 +34,15 @@ class BaseArbiterKernel:
def reconfigure(self, config):
pass
@property
def geometry(self):
"""Same as BaseCorrectionAddon.geometry"""
return self._device._geometry
def on_new_geometry(self, geometry):
"""Same as BaseCorrectionAddon.on_new_geometry"""
pass
class Assign(BaseArbiterKernel):
def consider(self, tid, src, nframes, mask, out):
Loading