2132403678d1b7985edecbad44d4d8575f8848af,ilastik/applets/thresholdTwoLevels/opThresholdTwoLevels.py,OpAnisotropicGaussianSmoothing,_getInputComputeRois,#OpAnisotropicGaussianSmoothing#Any#,82

Before Change


            del inputSpatialShape["c"]
        if "t" in inputSpatialShape.keys():
            assert inputSpatialShape["t"] == 1
            spatialRoi[0].pop( axiskeys.index("t") )
            spatialRoi[1].pop( axiskeys.index("t") )

        if "z" in inputSpatialShape.keys() and inputSpatialShape["z"]==1:
            /ǘD image, avoid kernel longer than line exception

After Change


        if "z" in inputSpatialShape.keys() and inputSpatialShape["z"]==1:
            /ǘD image, avoid kernel longer than line exception
            del inputSpatialShape["z"]
            zIndex = axiskeys.index("z")
            
        indices = [tIndex, cIndex, zIndex]
        indices = sorted(indices, reverse=True)
        for ind in indices:
            if ind:
                spatialRoi[0].pop(ind)
                spatialRoi[1].pop(ind)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: 2132403678d1b7985edecbad44d4d8575f8848af
Time: 2013-04-18
Author: martin.schiegg@iwr.uni-heidelberg.de
File Name: ilastik/applets/thresholdTwoLevels/opThresholdTwoLevels.py
Class Name: OpAnisotropicGaussianSmoothing
Method Name: _getInputComputeRois


Project Name: etal/cnvkit
Commit Name: e44da6a354fca97f4d5f8a12ae55d9771b22dfd4
Time: 2016-01-13
Author: eric.talevich@gmail.com
File Name: cnvlib/importers.py
Class Name:
Method Name: unpipe_name


Project Name: PetrochukM/PyTorch-NLP
Commit Name: 2a1a6851344172e0134f3c5f4f5c1021975f2812
Time: 2018-03-11
Author: petrochukm@gmail.com
File Name: torchnlp/samplers/bucket_batch_sampler.py
Class Name: BucketBatchSampler
Method Name: __iter__