def testBasic3DcStackFromGlobString(self):
Test if stacked 2d 3-channel files are loaded correctly
// For some reason vigra saves 2D+c data compressed in gifs, so skip!
self.compressedExtensions.append(".gif")
for fileName in self.imgFileNameGlobs2Dc:
graph = lazyflow.graph.Graph()
reader = OperatorWrapper(OpDataSelection, graph=graph, operator_kwargs={"forceAxisOrder": False})
reader.ProjectFile.setValue(self.projectFile)
After Change
// For some reason vigra saves 2D+c data compressed in gifs, so skip!
for fileName, nickname in zip(self.imgFileNameGlobs2Dc, self.imgFileNameGlobs2DcNicknames):
reader = OperatorWrapper(OpDataSelection, graph=Graph(), operator_kwargs={"forceAxisOrder": False})
reader.WorkingDirectory.setValue(str(Path(empty_project_file.filename).parent))
reader.Dataset.setValues([DatasetInfo(filepath=fileName, sequence_axis="z")])