53aeaaf93a5daddaafea79ee403768fa5d057c78,tests/test_applets/dataSelection/testOpDataSelection.py,TestOpDataSelection_Basic_native_3D,testBasic3Dc,#TestOpDataSelection_Basic_native_3D#,482

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 = fileName
            info.invertColors = False
            info.convertToGrayscale = False

            reader.Dataset.setValues([info])

            // Read the test files using the data selection operator and verify the contents
            imgData3Dc = reader.Image[0][...].wait()

After Change


    def testBasic3Dc(self):
        Test if 2d 3-channel files are loaded correctly
        // For some reason vigra saves 2D+c data compressed in gifs, so skip!
        for fileName, nickname in zip(self.imgFileNames3Dc, self.imgFileNames3DcNicknames):
            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")

            reader.Dataset.setValues([DatasetInfo(filepath=fileName)])

            // Read the test files using the data selection operator and verify the contents
            imgData3Dc = reader.Image[0][...].wait()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 18

Instances


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: testBasic3Dc


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: testBasic3D


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


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: testBasic3Dc


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