31ed95c543831c0ae0d07b2d347cbe920614bb0a,spectral/spectral.py,ImageArray,__repr__,#ImageArray#,300

Before Change


        self.interleave = 2 // bip

    def __repr__(self):
        return numpy.asarray(self).__str__()

    def __getitem__(self, args):
        // Duplicate the indexing behavior of SpyFile.  If args is iterable
        // with length greater than one, and if not all of the args are

After Change


        self.interleave = 2 // bip

    def __repr__(self):
        lst = numpy.array2string(numpy.asarray(self), prefix="ImageArray(")
        return "{}({}, dtype={})".format("ImageArray", lst, self.dtype.name)

    def __getitem__(self, args):
        // Duplicate the indexing behavior of SpyFile.  If args is iterable
        // with length greater than one, and if not all of the args are
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: spectralpython/spectral
Commit Name: 31ed95c543831c0ae0d07b2d347cbe920614bb0a
Time: 2015-07-08
Author: don@ohspite.net
File Name: spectral/spectral.py
Class Name: ImageArray
Method Name: __repr__


Project Name: pgmpy/pgmpy
Commit Name: 72bc7e7f627bfc0d4d383a1674288170be0f7598
Time: 2015-11-01
Author: KshitijSaraogi@gmail.com
File Name: pgmpy/independencies/Independencies.py
Class Name: Independencies
Method Name: __eq__


Project Name: nerox8664/pytorch2keras
Commit Name: 198d7eee040d0eb3c5183cdf50a6350db53a5623
Time: 2019-01-29
Author: nerox8664@gmail.com
File Name: pytorch2keras/converter.py
Class Name:
Method Name: get_leaf_id