INNER CODE UNIT · Python

InappropriateVCFSuffix

PharmGKB/PharmCAT · preprocessor/pcat/exceptions.py:18

class InappropriateVCFSuffix(ReportableException):
    """Inappropriate VCF suffix (not ending with .vcf.gz)"""
    def __init__(self, msg: Path | str):
        super().__init__('Inappropriate VCF suffix (not ending with .vcf, .vcf.gz, .vcf.bgz, .bcf, or .bcf.bgzf): %s' % str(msg))


class InvalidURL(ReportableException):
    """Inappropriate URL. No downloadable content was found."""
    def __init__(self, url: str):
        super().__init__('Invalid URL: %s' % url)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…