Skip to content

Commit

Permalink
applying filters to individuals of variants
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed Nov 19, 2024
1 parent 6688185 commit 8cf3d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion beacon/connections/mongo/g_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def get_individuals_of_variant(self, entry_id: Optional[str], qparams: RequestPa
query_parameters={}# pragma: no cover
else:
query=query_parameters
query = apply_filters(self, query, qparams.query.filters, collection,query_parameters, dataset)
collection='individuals'
HGVSIds = client.beacon.genomicVariations \
.find(query, {"identifiers.genomicHGVSId": 1, "datasetId": 1, "_id": 0})
HGVSIds=list(HGVSIds)
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ services:
MONGO_INITDB_DATABASE: beacon
volumes:
- ./beacon/connections/mongo/mongo-init/:/docker-entrypoint-initdb.d/:ro
- ./beacon/connections/mongo/data/:/data
networks:
- pub
#command: --verbose
Expand Down

0 comments on commit 8cf3d04

Please sign in to comment.