From 98b79b60c573b3ec7e7c9cdb0576dff4bd55083c Mon Sep 17 00:00:00 2001 From: ChrisKent Date: Fri, 29 Nov 2024 15:43:35 +0000 Subject: [PATCH] Made fstrings compatable with <3.11 --- primal_page/build_index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/primal_page/build_index.py b/primal_page/build_index.py index 3629a47..fa01179 100644 --- a/primal_page/build_index.py +++ b/primal_page/build_index.py @@ -71,11 +71,11 @@ def parse_version( # Check the hashes in the info.json file match the generated hashes if version_dict["primer_bed_md5"] != info.primer_bed_md5: raise ValueError( - f"MD5 mismatch for {schemeid}:primer.bed: info ({info.primer_bed_md5}) != file ({version_dict["primer_bed_md5"]})" + f"MD5 mismatch for {schemeid}:primer.bed: info ({info.primer_bed_md5}) != file ({version_dict['primer_bed_md5']})" ) if version_dict["reference_fasta_md5"] != info.reference_fasta_md5: raise ValueError( - f"MD5 mismatch for {schemeid}:reference.fasta: info ({info.reference_fasta_md5}) != file ({version_dict["reference_fasta_md5"]})" + f"MD5 mismatch for {schemeid}:reference.fasta: info ({info.reference_fasta_md5}) != file ({version_dict['reference_fasta_md5']})" ) return version_dict