Skip to content

Commit

Permalink
backend wip for getting annotations by analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriousHorncat committed Sep 9, 2024
1 parent 0c9d6c1 commit 5bdf090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/routers/annotation_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_annotations_by_hgvs_variant(variant: str, analysis_name: str, repositori
if dataset_config is None:
continue
"annotation[dataset][0]['value']"
found_dataset = next((by_version for by_version in annotation[dataset] if dataset in dataset_manifest), None)
found_dataset = next((by_version for by_version in annotation[dataset] if by_version in dataset_manifest), None)
annotations[dataset] =

transcript_annotation_list = []
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/fixtures/annotations-VMA21.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"gene_symbol": "VMA21",
"gene": "VMA21",
"annotations": [
" ": [
{
"Entrez Gene Id": [
{
Expand Down

0 comments on commit 5bdf090

Please sign in to comment.