Skip to content

Commit 082a4d6

Browse files
Expand the allowable values in the 'GenomicSequence' type
Co-authored-by: Kori Kuzma <[email protected]>
1 parent 80c1ad3 commit 082a4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anyvlm/utils/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class UcscAssemblyBuild(StrEnum):
3030
GenomicSequence = Annotated[
3131
str,
3232
BeforeValidator(str.upper),
33-
StringConstraints(pattern=r"^[AGCT]*$"),
33+
StringConstraints(pattern=r"^[ACGTURYKMSWBDHVN]*$"),
3434
]
3535

3636

0 commit comments

Comments
 (0)