37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf,ilastik/applets/nanshe/opMaxProjection.py,OpMaxProjection,propagateDirty,#OpMaxProjection#Any#Any#Any#,103

Before Change


    def propagateDirty(self, slot, subindex, roi):
        if slot.name == "InputImage":
            self._generation[self.name] += 1
            self.Output.setDirty(OpMaxProjection.compute_halo(roi.toSlice(),
                                                              self.InputImage.meta.shape,
                                                              self.Axis.value)[0])
        elif slot.name == "Axis":
            self._generation[self.name] += 1

After Change


            axis = self.Axis.value

            slicing = roi.toSlice()
            slicing = list(slicing)
            slicing = slicing[:axis] + slicing[axis+1:]
            slicing = tuple(slicing)

            self.Output.setDirty(slicing)
        elif slot.name == "Axis":
            self._generation[self.name] += 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: ilastik/ilastik
Commit Name: 37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMaxProjection.py
Class Name: OpMaxProjection
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: 37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMaxProjection.py
Class Name: OpMaxProjection
Method Name: execute


Project Name: ilastik/ilastik
Commit Name: da29eb419bece51ee151012222b57f23f3052b7d
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMeanProjection.py
Class Name: OpMeanProjection
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: da29eb419bece51ee151012222b57f23f3052b7d
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMeanProjection.py
Class Name: OpMeanProjection
Method Name: execute