From 1fed4ff2acaf740efc1548ee0e30e8a4726ad520 Mon Sep 17 00:00:00 2001 From: Laurent Guerard Date: Tue, 5 Mar 2024 12:15:10 +0100 Subject: [PATCH] Use correct channel number --- src/imcflibs/imagej/bdv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imcflibs/imagej/bdv.py b/src/imcflibs/imagej/bdv.py index 5736034..2154b5f 100644 --- a/src/imcflibs/imagej/bdv.py +++ b/src/imcflibs/imagej/bdv.py @@ -195,8 +195,8 @@ def process_channel(self, value): # def channel_select(self, value): value : int or int-like """ self._channel_processing_option = SINGLE % "channel" - channel = int(value) - 1 - self._channel_select = "processing_channel=[channel %s]" % channel + # channel = int(value) - 1 + self._channel_select = "processing_channel=[channel %s]" % int(value) def process_illumination(self, value): # def illumination_select(self, value): """Select a single illumination to use for processing.