Skip to content

Commit 87d9ad6

Browse files
author
James Casbon
committed
repr for SV
1 parent 8a79f57 commit 87d9ad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vcf/parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ def __init__(self, type):
161161
def __str__(self):
162162
return "<" + self.type + ">"
163163

164+
def __repr__(self):
165+
return str(self)
166+
164167

165168
class _vcf_metadata_parser(object):
166169
'''Parse the metadat in the header of a VCF file.'''

0 commit comments

Comments
 (0)