Skip to content

Commit

Permalink
style(preprocessor): Exception class styling change from python2 to p…
Browse files Browse the repository at this point in the history
…ython3
  • Loading branch information
BinglanLi committed Aug 4, 2023
1 parent 36c151b commit ab66ec9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions preprocessor/preprocessor/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def __str__(self):
class InappropriateVCFSuffix(ReportableException):
"""Inappropriate VCF suffix (not ending with .vcf.gz)"""
def __init__(self, msg: Union[Path, str]):
super(InappropriateVCFSuffix, self).\
__init__('Inappropriate VCF suffix (not ending with .vcf, .vcf.gz, or .vcf.bgz): %s' % str(msg))
super().__init__('Inappropriate VCF suffix (not ending with .vcf, .vcf.gz, or .vcf.bgz): %s' % str(msg))


class InvalidURL(ReportableException):
Expand Down

0 comments on commit ab66ec9

Please sign in to comment.