ad6d3b2e0a43d45a5a00eb372e9063ac12d9dab1,tests/testOpLazyConnectedComponents.py,DirtyAssert,propagateDirty,#DirtyAssert#Any#Any#Any#,480

Before Change



    def propagateDirty(self, slot, subindex, roi):
        assert np.all(roi.start == 0)
        assert np.all(roi.stop == self.Input.meta.shape)
        raise PropagateDirtyCalled()


class PropagateDirtyCalled(Exception):

After Change



    def propagateDirty(self, slot, subindex, roi):
        t_ind = self.Input.meta.axistags.index("t")
        c_ind = self.Input.meta.axistags.index("c")
        assert roi.start[t_ind] == self._t
        assert roi.start[c_ind] == self._c
        assert roi.stop[t_ind] == self._t+1
        assert roi.stop[c_ind] == self._c+1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: ilastik/ilastik
Commit Name: ad6d3b2e0a43d45a5a00eb372e9063ac12d9dab1
Time: 2017-03-28
Author: bergs@janelia.hhmi.org
File Name: tests/testOpLazyConnectedComponents.py
Class Name: DirtyAssert
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: d1cd689b789417d794f88e2d267998f7bf470b29
Time: 2020-02-26
Author: k-dominik@users.noreply.github.com
File Name: tests/testOpLazyConnectedComponents.py
Class Name: DirtyAssert
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: a6b74d2263807ba2018afb11954d4066c2d677a6
Time: 2020-02-20
Author: mnovikov.work@gmail.com
File Name: tests/testOpLazyConnectedComponents.py
Class Name: DirtyAssert
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: bd2ed11170532c2bc97226357c1bab51c1b96b94
Time: 2019-08-22
Author: mnovikov.work@gmail.com
File Name: tests/testOpLazyConnectedComponents.py
Class Name: DirtyAssert
Method Name: propagateDirty