You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using two uint16 tif (one with 1 channel, one with 2 channels) images and trying to stack them results in an error
my guess is that the first one does not have a channel axis, but that's to be verified.
Expected behavior
this should work of course.
To Reproduce
Steps to reproduce the behavior:
In data selection, go to via the stack import
Select files, select one single channel, one multi-channel file and stack across c
Error message/traceback
If applicable, please add tracebacks with formatting, such as
ERROR 2021-03-23 12:12:02,765 excepthooks 30642 140194647336768 Unhandled exception in thread: 'MainThread'
ERROR 2021-03-23 12:12:02,776 excepthooks 30642 140194647336768 Traceback (most recent call last):
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/dataSelectionGui.py", line 611, in addStack
stack_info =self.instantiate_dataset_info(url=url, role=roleIndex, sequence_axis=stackDlg.sequence_axis)
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/dataSelectionGui.py", line 574, in instantiate_dataset_info
info =self.parentApplet.create_dataset_info(url=url, *info_args, **info_kwargs)
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/dataSelectionApplet.py", line 253, in create_dataset_info
filePath=url, axistags=axistags, sequence_axis=sequence_axis
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/opDataSelection.py", line 653, in create_or_fallback_to_absolutereturncls(*args, **kwargs)
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/opDataSelection.py", line 646, in __init__super().__init__(**fs_info_kwargs)
File ".../ilastik-meta/ilastik/ilastik/applets/dataSelection/opDataSelection.py", line 547, in __init__
graph=Graph(), WorkingDirectory=self.base_dir, FilePath=self.filePath, SequenceAxis=self.sequence_axis
File ".../ilastik-meta/ilastik/lazyflow/operator.py", line 141, in __call__
instance._after_init()
File ".../ilastik-meta/ilastik/lazyflow/operator.py", line 304, in _after_initself._setupOutputs()
File ".../ilastik-meta/ilastik/lazyflow/operator.py", line 498, in _setupOutputsself.setupOutputs()
File ".../ilastik-meta/ilastik/lazyflow/operators/ioOperators/opInputDataReader.py", line 214, in setupOutputsself.internalOperators, self.internalOutput = openFunc(filePath)
File ".../ilastik-meta/ilastik/lazyflow/operators/ioOperators/opInputDataReader.py", line 349, in _attemptOpenAsTiffStack
opReader.GlobString.setValue(filePath)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 73, in call_in_setup_contextreturn func(self, *args, **kwargs)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1143, in setValueself._changed()
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1328, in _changedself.maybe_call_within_transaction(self._changed_impl)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1323, in maybe_call_within_transactionself.graph.maybe_call_within_transaction(fn)
File ".../ilastik-meta/ilastik/lazyflow/graph.py", line 143, in maybe_call_within_transaction
fn()
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1361, in _changed_implself._configureOperator(self)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1374, in _configureOperatorself.maybe_call_within_transaction(self.operator._setupOutputs)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1323, in maybe_call_within_transactionself.graph.maybe_call_within_transaction(fn)
File ".../ilastik-meta/ilastik/lazyflow/graph.py", line 143, in maybe_call_within_transaction
fn()
File ".../ilastik-meta/ilastik/lazyflow/operator.py", line 498, in _setupOutputsself.setupOutputs()
File ".../ilastik-meta/ilastik/lazyflow/operators/ioOperators/opTiffSequenceReader.py", line 122, in setupOutputs
stacker_slot.connect(opReader.Output)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 73, in call_in_setup_contextreturn func(self, *args, **kwargs)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 543, in connectself._changed()
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1328, in _changedself.maybe_call_within_transaction(self._changed_impl)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1323, in maybe_call_within_transactionself.graph.maybe_call_within_transaction(fn)
File ".../ilastik-meta/ilastik/lazyflow/graph.py", line 143, in maybe_call_within_transaction
fn()
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1361, in _changed_implself._configureOperator(self)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1374, in _configureOperatorself.maybe_call_within_transaction(self.operator._setupOutputs)
File ".../ilastik-meta/ilastik/lazyflow/slot.py", line 1323, in maybe_call_within_transactionself.graph.maybe_call_within_transaction(fn)
File ".../ilastik-meta/ilastik/lazyflow/graph.py", line 143, in maybe_call_within_transaction
fn()
File ".../ilastik-meta/ilastik/lazyflow/operator.py", line 498, in _setupOutputsself.setupOutputs()
File ".../ilastik-meta/ilastik/lazyflow/operators/generic.py", line 196, in setupOutputsself.setRightShape()
File ".../ilastik-meta/ilastik/lazyflow/operators/generic.py", line 231, in setRightShape
newshape[axisindex] = c
IndexError: list assignment index out of range
Desktop (please complete the following information):
ilastik version: 1.3.3post3, 1.4.0x
The text was updated successfully, but these errors were encountered:
Describe the bug
using two uint16 tif (one with 1 channel, one with 2 channels) images and trying to stack them results in an error
my guess is that the first one does not have a channel axis, but that's to be verified.
Expected behavior
this should work of course.
To Reproduce
Steps to reproduce the behavior:
In data selection, go to via the stack import
Error message/traceback
If applicable, please add tracebacks with formatting, such as
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: