Skip to content

Commit ae5ab83

Browse files
committed
Add vep to csv namespace options
1 parent 1403c06 commit ae5ab83

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/mavedb/lib/score_sets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def find_publish_or_private_superseded_score_set_tail(
501501
def get_score_set_variants_as_csv(
502502
db: Session,
503503
score_set: ScoreSet,
504-
namespaces: List[Literal["scores", "counts"]],
504+
namespaces: List[Literal["scores", "counts", "vep"]],
505505
namespaced: Optional[bool] = None,
506506
start: Optional[int] = None,
507507
limit: Optional[int] = None,

src/mavedb/routers/score_sets.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ def get_score_set_variants_csv(
715715
urn: str,
716716
start: int = Query(default=None, description="Start index for pagination"),
717717
limit: int = Query(default=None, description="Maximum number of variants to return"),
718-
namespaces: List[Literal["scores", "counts"]] = Query(
719-
default=["scores"], description="One or more data types to include: scores, counts, clinVar, gnomAD"
718+
namespaces: List[Literal["scores", "counts", "vep"]] = Query(
719+
default=["scores"], description="One or more data types to include: scores, counts, clinVar, gnomAD, VEP"
720720
),
721721
drop_na_columns: Optional[bool] = None,
722722
include_custom_columns: Optional[bool] = None,
@@ -741,7 +741,7 @@ def get_score_set_variants_csv(
741741
The index to start from. If None, starts from the beginning.
742742
limit : Optional[int]
743743
The maximum number of variants to return. If None, returns all variants.
744-
namespaces: List[Literal["scores", "counts"]]
744+
namespaces: List[Literal["scores", "counts", "vep"]]
745745
The namespaces of all columns except for accession, hgvs_nt, hgvs_pro, and hgvs_splice.
746746
We may add ClinVar and gnomAD in the future.
747747
drop_na_columns : bool, optional

0 commit comments

Comments
 (0)