05fefb031b5668b8e823298257d907b67d8a2ca0,ilastik/applets/vigraWatershedViewer/opVigraWatershedViewer.py,OpVigraWatershedViewer,setupOutputs,#OpVigraWatershedViewer#,47

Before Change


    def setupOutputs(self):
        // Can"t make this last connection in __init__ because 
        //  opChannelSelector.Slices won"t have any data until its input is ready 
        if len(self.opChannelSelector.Slices) > 0:
            self.opWatershed.InputImage.connect(self.opChannelSelector.Slices[0])

        //// Cache blocks
        // Inner and outer block shapes are the same.

After Change


        if len(self.opWatershedCache.InnerOutputs) > 0:
            self.WatershedLabels.connect( self.opWatershedCache.InnerOutputs[2] )
        
        if self.SeedThresholdValue.ready():
            seedThreshold = self.SeedThresholdValue.value
            if not self.opWatershed.SeedImage.connected() or seedThreshold != self._seedThreshold:
                self._seedThreshold = seedThreshold
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 05fefb031b5668b8e823298257d907b67d8a2ca0
Time: 2012-09-05
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/vigraWatershedViewer/opVigraWatershedViewer.py
Class Name: OpVigraWatershedViewer
Method Name: setupOutputs


Project Name: ilastik/ilastik
Commit Name: cdae34326f1e305bbf391945ba692bcdaa69a84d
Time: 2016-01-08
Author: jimmycc80@hotmail.com
File Name: ilastik/workflows/tracking/conservation/conservationTrackingWorkflow.py
Class Name: ConservationTrackingWorkflowBase
Method Name: handleAppletStateUpdateRequested


Project Name: ilastik/ilastik
Commit Name: 9a3277aa76f7b8374de002e6c72bff142b594cf7
Time: 2012-08-21
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/featureSelection/featureSelectionGui.py
Class Name: FeatureSelectionGui
Method Name: setupLayers