46df5d3879a2fadb3a5df9728954ad1b5fce663a,ilastik-shell/applets/pixelClassification/pixelClassificationGui.py,PixelClassificationGui,onTrainAndPredictButtonClicked,#PixelClassificationGui#,696

Before Change


        with Tracer(traceLogger):
            // "unfix" any operator inputs that were frozen before
            for o in self.fixableOperators:
                o.inputs["fixAtCurrent"].setValue(False)
    
            // Can"t change labels while we"re in the middle of a prediction
            self._labelControlUi.labelListModel.allowRemove(False)

After Change


            // First, do a regular save.
            // During a regular save, predictions are not saved to the project file.
            // (It takes too much time if the user only needs the classifier.)
            self.shellRequestSignal.emit( ShellRequest.RequestSave )
            
            // Enable prediction storage and ask the shell to save the project again.
            // (This way the second save will occupy the whole progress bar.)
            self.predictionSerializer.predictionStorageEnabled = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ilastik/ilastik
Commit Name: 46df5d3879a2fadb3a5df9728954ad1b5fce663a
Time: 2012-07-10
Author: bergs@janelia.hhmi.org
File Name: ilastik-shell/applets/pixelClassification/pixelClassificationGui.py
Class Name: PixelClassificationGui
Method Name: onTrainAndPredictButtonClicked


Project Name: Esri/raster-functions
Commit Name: ff4623e804d49ae25411595eafb43b64c90ff75c
Time: 2014-09-25
Author: akferoz@esri.com
File Name: functions/SelectByPixelSize.py
Class Name: SelectByPixelSize
Method Name: updatePixels


Project Name: Esri/raster-functions
Commit Name: 9d8f5baf55b4ebe2bd8c389383dff17bd77cc6b9
Time: 2014-09-25
Author: akferoz@esri.com
File Name: functions/SelectByPixelSize.py
Class Name: SelectByPixelSize
Method Name: updatePixels