// 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)
reader.WorkingDirectory.setValue(os.getcwd())
reader.ProjectDataGroup.setValue("DataSelection/local_data")
info = DatasetInfo()
// Will be read from the filesystem since the data won"t be found in the project file.
info.location = DatasetInfo.Location.ProjectInternal
After Change
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")])
// Read the test files using the data selection operator and verify the contents
imgData3Dc = reader.Image[0][...].wait()