4d934160aa7f4f9f1d5cdea7cd0e66cfc3d43d05,third_party/nucleus/io/fasta.py,InMemoryRefReader,__str__,#InMemoryRefReader#,198
Before Change
raise ValueError("Unknown contig", contig_name)
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))
__repr__ = __str__
After Change
contigs_strs = [
_format_refseq(refseq)
for refseq in self._reader.reference_sequences.itervalues()
]
return "InMemoryRefReader(contigs={})".format("".join(contigs_strs))
__repr__ = __str__
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
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__
Project Name: tensorflow/tensorboard
Commit Name: 0b5565152aceed3796445c855ce187118787c857
Time: 2017-12-18
Author: nfelt@users.noreply.github.com
File Name: tensorboard/backend/event_processing/plugin_event_accumulator.py
Class Name: EventAccumulator
Method Name: _Purge
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__