Skip to content

Commit

Permalink
feat: description of ValueErrors matches error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ameynert committed Jan 7, 2025
1 parent b5ffc86 commit 73785e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prymer/offtarget/offtarget_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ def __init__(
executable: string or Path representation of the `bwa` executable path
Raises:
ValueError: If `max_amplicon_size` is less than 1.
ValueError: If `max_amplicon_size` is not greater than 0.
ValueError: If any of `max_primer_hits`, `max_primer_pair_hits`, or
`min_primer_pair_hits` are less than 0.
ValueError: If `three_prime_region_length` is less than 1.
`min_primer_pair_hits` are not greater than or equal to 0.
ValueError: If `three_prime_region_length` is not greater than 0.
ValueError: If `max_mismatches_in_three_prime_region` is outside the range 0 to
`three_prime_region_length`, inclusive.
ValueError: If `max_mismatches` is less than 0.
ValueError: If `max_mismatches` is not greater than or equal to 0.
"""
errors: list[str] = []
if max_amplicon_size < 1:
Expand Down

0 comments on commit 73785e3

Please sign in to comment.