From b2454122cc5cff40b9d6c7e49d4a7b4016f22155 Mon Sep 17 00:00:00 2001 From: Kevin Velghe Date: Wed, 3 Jul 2024 15:34:24 +0200 Subject: [PATCH] fix warning when parsing tsv --- psm_utils/io/tsv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psm_utils/io/tsv.py b/psm_utils/io/tsv.py index 213358c..ff4c55f 100644 --- a/psm_utils/io/tsv.py +++ b/psm_utils/io/tsv.py @@ -78,7 +78,7 @@ def __iter__(self): try: yield PSM(**self._parse_entry(row)) except ValidationError: - logger.warning("Could not parse PSM from row: `{row}`") + logger.warning(f"Could not parse PSM from row: `{row}`") continue @staticmethod