From 243c16883f70a4a64ff29bbbfc93d151a2dcde19 Mon Sep 17 00:00:00 2001 From: pauladkisson Date: Mon, 18 Sep 2023 13:16:56 -0700 Subject: [PATCH] refactored to take plane and channel at __init__ rather than in get_video -- added channel_names --- .../tiffimagingextractors/scanimagetiffimagingextractor.py | 1 + 1 file changed, 1 insertion(+) 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: