Skip to content

Commit

Permalink
Update sequence_checks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jan 10, 2025
1 parent 5ece769 commit 06698ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def errors_if_non_iupac(
],
message=(
f"Found non-IUPAC symbols in the {segment} sequence: "
+ ", ".join(non_iupac_symbols)
+ ", ".join(non_iupac_symbols) + (". Gap characters (-) are not allowed in raw sequences." if "-" in non_iupac_symbols else "")
),
)
)
Expand Down

0 comments on commit 06698ef

Please sign in to comment.