ad4007e349ade52915d5cc27571a280d797f17c6,tests/test_applets/dataSelection/testOpDataSelection.py,TestOpDataSelection_FakeDataReader,test_fake_data_source,#TestOpDataSelection_FakeDataReader#,824
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 *fake* data source
info.realDataSource = False
info.axistags = vigra.defaultAxistags("tczyx")
info.laneShape = self.imgData.shape
info.laneDtype = self.imgData.dtype
reader.Dataset.setValues([info])
After Change
reader.WorkingDirectory.setValue(os.getcwd())
reader.ProjectDataGroup.setValue("DataSelection/local_data")
info = DatasetInfo(
preloaded_array=self.imgData,
axistags = vigra.defaultAxistags("tczyx")
)
reader.Dataset.setValues([info])
// Verify that now data selection operator returns fake data
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
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_fake_data_source
Project Name: ilastik/ilastik
Commit Name: 53aeaaf93a5daddaafea79ee403768fa5d057c78
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelection.py
Class Name: TestOpDataSelection_Basic_native_3D
Method Name: testBasic3DWrongAxes
Project Name: ilastik/ilastik
Commit Name: bff67338758d31c3562a9d9d9f768834d2d94032
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelectionGroup.py
Class Name: TestOpDataSelectionGroup
Method Name: testNoChannelAxis
Project Name: ilastik/ilastik
Commit Name: bff67338758d31c3562a9d9d9f768834d2d94032
Time: 2019-07-26
Author: tomaz.vieira@embl.de
File Name: tests/test_applets/dataSelection/testOpDataSelectionGroup.py
Class Name: TestOpDataSelectionGroup
Method Name: testWeirdAxisInfos
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_fake_data_source