bb35343489a276958bb084f532a091c420b0503b,lazyflow/operators/opInterpMissingData.py,OpInterpMissingData,setupOutputs,#OpInterpMissingData#,18

Before Change


        self.Output.meta.assignFrom( self.InputVolume.meta )
        self.Output.meta.dtype=np.uint8
        shape = list(self.InputVolume.meta.shape)
        self.Output.meta.shape = tuple(shape)
        pass

    def execute(self, slot, subindex, roi, result):
        data = self.InputVolume.get(roi).wait()

After Change


        taggedShape = self.InputVolume.meta.getTaggedShape()
        if "t" in taggedShape:
            assert taggedShape["t"] == 1, "Non-spatial dimensions must be of length 1"
        if "c" in taggedShape:
            assert taggedShape["c"] == 1, "Non-spatial dimensions must be of length 1"

    def execute(self, slot, subindex, roi, result):
        data = self.InputVolume.get(roi).wait()
        data = data.view( vigra.VigraArray )
        data.axistags = self.InputVolume.meta.axistags
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: bb35343489a276958bb084f532a091c420b0503b
Time: 2013-02-28
Author: bergs@janelia.hhmi.org
File Name: lazyflow/operators/opInterpMissingData.py
Class Name: OpInterpMissingData
Method Name: setupOutputs


Project Name: onnx/onnx-coreml
Commit Name: fb77632a28e3338cb7e5a0d0c0f2c7ba76cdb984
Time: 2018-03-29
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_reshape


Project Name: codelucas/newspaper
Commit Name: 5d6cdbd53544d057a1cf344526ec70e0995b77d1
Time: 2014-12-17
Author: lucasyangpersonal@gmail.com
File Name: newspaper/nlp.py
Class Name:
Method Name: keywords


Project Name: stanford-mast/nn_dataflow
Commit Name: 4fb88fdc63292d93ce2fdbbf77a4043f18b2c769
Time: 2017-05-03
Author: mgao12@stanford.edu
File Name: nn_dataflow/Network.py
Class Name: Network
Method Name: add


Project Name: ilastik/ilastik
Commit Name: 2ea912265ea29a0362be7e4dd9ff9e110bc78c0b
Time: 2016-01-13
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/pixelClassification/opPixelClassification.py
Class Name: OpPixelClassification
Method Name: _checkConstraints