print("Exception caught while deleting temporary files: {}".format(e))
def test_load_single_file_with_glob(self):
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(filepath=self.glob_string)
// 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(os.getcwd())
reader.Dataset.setValues([DatasetInfo(filepath=self.glob_string, sequence_axis="t")])
// Read the test files using the data selection operator and verify the contents
imgData = reader.Image[0][...].wait()