e25820e17e9aad85d4fadade73e94c68b67f9b7a,ilastik/shell/projectManager.py,ProjectManager,loadProject,#ProjectManager#Any#Any#,21

Before Change


        self.currentProjectFile = hdf5File
        self.currentProjectPath = projectFilePath
        // Applet serializable items are given the whole file (root group)
        for applet in self._applets:
            for item in applet.dataSerializers:
                assert item.base_initialized, "AppletSerializer subclasses must call AppletSerializer.__init__ upon construction."
                item.deserializeFromHdf5(self.currentProjectFile, projectFilePath)

    def saveProject(self):
        logger.debug("Save Project triggered")

        assert self.currentProjectFile != None

After Change


        // Minor GUI nicety: Pre-activate the progress signals for all applets so
        //  the progress manager treats these tasks as a group instead of several sequential jobs.
        for aplt in self._applets:
            aplt.progressSignal.emit(0)

        // Save this as the current project
        self.currentProjectFile = hdf5File
        self.currentProjectPath = projectFilePath
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: e25820e17e9aad85d4fadade73e94c68b67f9b7a
Time: 2012-07-30
Author: bergs@janelia.hhmi.org
File Name: ilastik/shell/projectManager.py
Class Name: ProjectManager
Method Name: loadProject


Project Name: ilastik/ilastik
Commit Name: e25820e17e9aad85d4fadade73e94c68b67f9b7a
Time: 2012-07-30
Author: bergs@janelia.hhmi.org
File Name: ilastik/shell/projectManager.py
Class Name: ProjectManager
Method Name: saveProject


Project Name: ilastik/ilastik
Commit Name: 853c96bf3eccb65b4a344627cef75c06d4a68716
Time: 2015-07-27
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/batchProcessing/batchProcessingApplet.py
Class Name: BatchProcessingApplet
Method Name: run_export