From 3c510fdbdc5be1d3c7fcae9d00f802a7565dc811 Mon Sep 17 00:00:00 2001 From: Fan-iX <61686936+Fan-iX@users.noreply.github.com> Date: Wed, 4 Jun 2025 16:12:02 +0800 Subject: [PATCH] Avoid string escaping for `str(SamtoolsError)` --- pysam/utils.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pysam/utils.py b/pysam/utils.py index dab58ff6..d386c9cb 100644 --- a/pysam/utils.py +++ b/pysam/utils.py @@ -13,12 +13,7 @@ class SamtoolsError(Exception): '''exception raised in case of an error incurred in the samtools library.''' - - def __init__(self, value): - self.value = value - - def __str__(self): - return repr(self.value) + pass class PysamDispatcher(object):