73ec9752604a0a0210fafa0722ca355629648502,nucleus/io/fasta.py,InMemoryRefReader,__str__,#InMemoryRefReader#,183

Before Change


  def __str__(self):
    contigs_strs = [
        "Contig(chrom={} start={}, end={}, bases={})".format(
            chrom, start, end, bases
            if len(bases) < 50 else bases[0:50] + "...")
        for chrom, (start, end, bases) in self._chroms.iteritems()
    ]
    return "InMemoryRefReader(contigs={})".format("".join(contigs_strs))

After Change


          refseq.region.reference_name, refseq.region.start, refseq.region.end,
          bases)

    contigs_strs = [
        _format_refseq(refseq)
        for refseq in self._reader.reference_sequences.itervalues()
    ]
    return "InMemoryRefReader(contigs={})".format("".join(contigs_strs))

  __repr__ = __str__
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: google/nucleus
Commit Name: 73ec9752604a0a0210fafa0722ca355629648502
Time: 2018-04-23
Author: mdepristo@google.com
File Name: nucleus/io/fasta.py
Class Name: InMemoryRefReader
Method Name: __str__


Project Name: nilearn/nilearn
Commit Name: 5e3cd5a9f1dfc0e320d3ff5a384505bf06904365
Time: 2014-12-04
Author: loic.esteve@ymail.com
File Name: nilearn/plotting/displays.py
Class Name: BaseSlicer
Method Name: _map_show


Project Name: google/deepvariant
Commit Name: 4d934160aa7f4f9f1d5cdea7cd0e66cfc3d43d05
Time: 2018-04-29
Author: mdepristo@google.com
File Name: third_party/nucleus/io/fasta.py
Class Name: InMemoryRefReader
Method Name: __str__