Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
epeters3 committed Dec 17, 2024
1 parent 9e2d4f0 commit f93ed22
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion phc/easy/omics/options/genomic_copy_number_variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class GenomicCopyNumberVariantOptions(PagingApiOptions):
"""Options to pass to `/v1/genomics/copy-numbers`"""

variant_set_ids: List[str] = Field(..., min_items=1)
variant_set_ids: List[str] = Field(..., min_length=1)
include: List[GenomicVariantInclude] = []
gene: List[str] = []
interpretation: List[str] = []
Expand Down
2 changes: 1 addition & 1 deletion phc/easy/omics/options/genomic_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class GenomicExpressionOptions(PagingApiOptions):
"""Options to pass to `/v1/genomics/expressions`"""

variant_set_ids: List[str] = Field(..., min_items=1)
variant_set_ids: List[str] = Field(..., min_length=1)
include: List[GenomicVariantInclude] = []
gene: List[str] = []
expression: Optional[str] = Field(None, pattern=r"^(\d+(\.\d+)?-\d+(\.\d+)?|[><]=\s?\d+(\.\d+)?|\d+(\.\d+)?:(lte|gte))$")
Expand Down
2 changes: 1 addition & 1 deletion phc/easy/omics/options/genomic_short_variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class GenomicShortVariantOptions(PagingApiOptions):
# - Combined In Silico Prediction
# - Individual In Silico Predictors

variant_set_ids: List[str] = Field(..., min_items=1)
variant_set_ids: List[str] = Field(..., min_length=1)
include: List[GenomicVariantInclude] = ["vcf"]
gene: List[str] = []
rs_id: List[constr(pattern=RS_ID)] = []
Expand Down
2 changes: 1 addition & 1 deletion phc/easy/omics/options/genomic_structural_variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


class GenomicStructuralVariantOptions(PagingApiOptions):
variant_set_ids: List[str] = Field(..., min_items=1)
variant_set_ids: List[str] = Field(..., min_length=1)
gene: List[str] = []
effect: List[StructuralType] = []
interpretation: List[str] = []
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f93ed22

Please sign in to comment.