Commit d28a0b32 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

[hdf5scan] Fix ignore mechanism

parent 8bbd429c
......@@ -335,10 +335,14 @@ class HDF5TomoScan(TomoScanBase):
def projections(self) -> typing.Union[dict, None]:
if self._projections is None:
if self.frames:
ignored_projs = []
if self._ignored_projections is not None:
ignored_projs = self._ignored_projections
proj_frames = tuple(
lambda x: x.image_key == ImageKey.PROJECTION
and x.is_control == False,
lambda x: (x.image_key == ImageKey.PROJECTION
and x.index not in ignored_projs
and x.is_control == False),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment