5a0373b2cdb1222e7c9816c0fc88e22fda743647,lazyflow/operators/opBlockedArrayCache.py,OpBlockedArrayCache,propagateDirty,#OpBlockedArrayCache#Any#Any#Any#,269
Before Change
// shortcut, if everything is dirty already, dont loop over the blocks
if self._fixed_all_dirty is False:
blockKey = roiToSlice(blockStart,blockStop)
innerBlocks = self._blockNumbers[blockKey]
for b_ind in innerBlocks.flat:
self._fixed_dirty_blocks.add(b_ind)
if slot == self.fixAtCurrent:
After Change
dirtystart = self.Output.meta.shape
dirtystop = [0] * len(self.Output.meta.shape)
for b_ind in self._fixed_dirty_blocks:
offset = self._blockShape*self._get_block_multi_index(b_ind)
bigstart = offset
bigstop = numpy.minimum(offset + self._blockShape, self.Output.meta.shape)
dirtystart = numpy.minimum(bigstart, dirtystart)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: ilastik/ilastik
Commit Name: 5a0373b2cdb1222e7c9816c0fc88e22fda743647
Time: 2014-08-13
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/opBlockedArrayCache.py
Class Name: OpBlockedArrayCache
Method Name: propagateDirty
Project Name: ilastik/ilastik
Commit Name: 5a0373b2cdb1222e7c9816c0fc88e22fda743647
Time: 2014-08-13
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/opBlockedArrayCache.py
Class Name: OpBlockedArrayCache
Method Name: execute
Project Name: ilastik/ilastik
Commit Name: 5a0373b2cdb1222e7c9816c0fc88e22fda743647
Time: 2014-08-13
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/opBlockedArrayCache.py
Class Name: OpBlockedArrayCache
Method Name: generateReport