cb2f873657828bcb55ac84f944fafbd415af840a,tests/test_applets/pixelClassification/testPixelClassificationGui.py,TestPixelClassificationGui,test_1_NewProject,#TestPixelClassificationGui#,157

Before Change



        // opens multi dataset file and expects inner path to be picked automatically
        self.add_file(self.tmp_h5_multiple_dataset)
        self.remove_first_dataset()

        // opens single dataset file and expects inner path to be picked automatically
        self.add_file(self.tmp_h5_single_dataset)
        self.remove_first_dataset()

        def impl():
            // Add a file

After Change


        workflow = self.shell.projectManager.workflow
        opDataSelection = workflow.dataSelectionApplet.topLevelOperator

        if os.name != "nt": //FIXME: enable these on windows without hangs or segfaults
            // opens multi dataset file and expects second dialog to choose inner path
            self.add_file(self.tmp_h5_multiple_dataset, "test_group_3d/test_data_3d")
            self.remove_first_dataset()

            // opens multi dataset file and expects inner path to be picked automatically
            self.add_file(self.tmp_h5_multiple_dataset)
            self.remove_first_dataset()

            // opens single dataset file and expects inner path to be picked automatically
            self.add_file(self.tmp_h5_single_dataset)
            self.remove_first_dataset()

        def impl():
            // Add a file
            from ilastik.applets.dataSelection.opDataSelection import DatasetInfo, FilesystemDatasetInfo
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: ilastik/ilastik
Commit Name: cb2f873657828bcb55ac84f944fafbd415af840a
Time: 2019-08-25
Author: tom.fogaca@gmail.com
File Name: tests/test_applets/pixelClassification/testPixelClassificationGui.py
Class Name: TestPixelClassificationGui
Method Name: test_1_NewProject