Skip to content

Commit

Permalink
Made fstrings compatable with <3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisgKent committed Nov 29, 2024
1 parent ad11b8e commit 98b79b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primal_page/build_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98b79b6

Please sign in to comment.