Skip to content

Commit

Permalink
Fixed error is exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfenne committed Nov 8, 2024
1 parent 7f2f793 commit 35ef948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prymer/api/picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def build_primer_pairs(
raise ValueError("Left primers exist on different reference than target.")

Check warning on line 138 in prymer/api/picking.py

View check run for this annotation

Codecov / codecov/patch

prymer/api/picking.py#L138

Added line #L138 was not covered by tests

if not all(p.span.refname == target.refname for p in right_primers):
raise ValueError("Left primers exist on different reference than target.")
raise ValueError("Right primers exist on different reference than target.")

Check warning on line 141 in prymer/api/picking.py

View check run for this annotation

Codecov / codecov/patch

prymer/api/picking.py#L141

Added line #L141 was not covered by tests

# Grab the sequence we'll use to fill in the amplicon sequence
with FastaFile(f"{fasta_path}") as fasta:
Expand Down

0 comments on commit 35ef948

Please sign in to comment.