ad4007e349ade52915d5cc27571a280d797f17c6,tests/test_applets/dataSelection/testOpDataSelection.py,TestOpDataSelection_FakeDataReader,test_real_data_source,#TestOpDataSelection_FakeDataReader#,799
Before Change
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
info.filePath = self.testRawDataFileName
info.invertColors = False
info.convertToGrayscale = False
//Use real data source
info.realDataSource = True
reader.Dataset.setValues([info])
// Read the test file using the data selection operator and verify the contents
imgData = reader.Image[0][...].wait()
After Change
print("Exception caught while deleting temporary files: {}".format(e))
def test_real_data_source(self):
reader = OperatorWrapper(OpDataSelection, graph=Graph(),
operator_kwargs={"forceAxisOrder": False})
reader.WorkingDirectory.setValue(os.getcwd())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances
Project Name: ilastik/ilastik
Commit Name: ad4007e349ade52915d5cc27571a280d797f17c6
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelection.py
Class Name: TestOpDataSelection_FakeDataReader
Method Name: test_real_data_source
Project Name: ilastik/ilastik
Commit Name: ad4007e349ade52915d5cc27571a280d797f17c6
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelection.py
Class Name: TestOpDataSelection_FakeDataReader
Method Name: test_real_data_source
Project Name: ilastik/ilastik
Commit Name: ad4007e349ade52915d5cc27571a280d797f17c6
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelection.py
Class Name: TestOpDataSelection_3DStacks
Method Name: testBasic3DcStackFromGlobString
Project Name: ilastik/ilastik
Commit Name: d24ce26801187936e4db848621a50c7dea0574e9
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelection.py
Class Name: TestOpDataSelection_3DStacks
Method Name: testBasic3DstackFromGlobString