diff --git a/src/roiextractors/extractors/tiffimagingextractors/scanimagetiffimagingextractor.py b/src/roiextractors/extractors/tiffimagingextractors/scanimagetiffimagingextractor.py index 1954a9ba..134c9ba0 100644 --- a/src/roiextractors/extractors/tiffimagingextractors/scanimagetiffimagingextractor.py +++ b/src/roiextractors/extractors/tiffimagingextractors/scanimagetiffimagingextractor.py @@ -119,6 +119,7 @@ def __init__( self._num_channels = num_channels self.plane = plane self._num_planes = num_planes + self._channel_names = channel_names if channel >= num_channels: raise ValueError(f"Channel index ({channel}) exceeds number of channels ({num_channels}).") if plane >= num_planes: