fa6401c65531d695f302ac7fdfd76a82e8fc7b83,ilastik/applets/objectExtraction/opObjectExtraction.py,OpRegionFeatures3d,setupOutputs,#OpRegionFeatures3d#,107

Before Change


        taggedOutputShape = self.LabelVolume.meta.getTaggedShape()
        if "t" in taggedOutputShape.keys():
            assert taggedOutputShape["t"] == 1
        assert set(taggedOutputShape.keys()) - set("t") == set("xyzc"), "Input volumes must have xyzc axes."

        // Remove the spatial dims (keep t if present)
        del taggedOutputShape["x"]
        del taggedOutputShape["y"]

After Change


                            " raw data shape: {}".format(self.LabelVolume.meta.shape,
                                                         self.RawVolume.meta.shape))

        if taggedOutputShape.get("t", 1) != 1:
            raise Exception("this operator cannot handle multiple time slices")
        if set(taggedOutputShape.keys()) - set("t") != set("xyzc"):
            raise Exception("Input volumes must have xyzc axes.")

        // Remove the spatial dims (keep t if present)
        del taggedOutputShape["x"]
        del taggedOutputShape["y"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: ilastik/ilastik
Commit Name: fa6401c65531d695f302ac7fdfd76a82e8fc7b83
Time: 2013-04-23
Author: kemal.eren@iwr.uni-heidelberg.de
File Name: ilastik/applets/objectExtraction/opObjectExtraction.py
Class Name: OpRegionFeatures3d
Method Name: setupOutputs


Project Name: dmlc/dgl
Commit Name: 18a26fcfb1983af7fba69db9bdce7ba5e6a9945f
Time: 2020-06-29
Author: VoVAllen@users.noreply.github.com
File Name: python/dgl/data/graph_serialize.py
Class Name:
Method Name: load_graphs


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: df692160992a3b6b46e496dd40a7d121cfdfdb4a
Time: 2016-11-02
Author: tedsta@google.com
File Name: perfkitbenchmarker/linux_benchmarks/netperf_benchmark.py
Class Name:
Method Name: RunNetperf


Project Name: mindsdb/mindsdb
Commit Name: 8ae482b8bbdfe4de555e837be3984a8280aa2874
Time: 2020-07-08
Author: george@cerebralab.com
File Name: tests/integration_tests/flows/test_clickhouse.py
Class Name: TestClickhouse
Method Name: test_learn


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 69894c0872a593e99194f76a831fb1fe2bd90cb5
Time: 2016-10-28
Author: tedsta@google.com
File Name: perfkitbenchmarker/linux_benchmarks/netperf_benchmark.py
Class Name:
Method Name: RunNetperf