Skip to content

Commit

Permalink
Add es-index and annotate-dataset IDs to ProjectsSummary model
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieLF committed Sep 14, 2023
1 parent b96779a commit 0a352b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/routes/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ async def get_projects_summary(
total_samples=3,
total_sequencing_groups=3,
total_crams=3,
latest_es_index_id=1,
total_sgs_in_latest_es_index=3,
latest_annotate_dataset_id=2,
total_sgs_in_latest_annotate_dataset=3,
),
ProjectsSummaryInternal(
Expand All @@ -154,7 +156,9 @@ async def get_projects_summary(
total_samples=1,
total_sequencing_groups=1,
total_crams=1,
latest_es_index_id=3,
total_sgs_in_latest_es_index=1,
latest_annotate_dataset_id=4,
total_sgs_in_latest_annotate_dataset=1,
),
ProjectsSummaryInternal(
Expand All @@ -166,7 +170,9 @@ async def get_projects_summary(
total_samples=5,
total_sequencing_groups=5,
total_crams=4,
latest_es_index_id=3,
total_sgs_in_latest_es_index=4,
latest_annotate_dataset_id=6,
total_sgs_in_latest_annotate_dataset=4,
),
]
Expand Down
2 changes: 2 additions & 0 deletions models/models/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ class ProjectsSummaryInternal:
total_samples: int
total_sequencing_groups: int
total_crams: int
latest_es_index_id: int
# latest_es_index_output: str
# latest_es_index_timestamp: str
total_sgs_in_latest_es_index: int
latest_annotate_dataset_id: int
# latest_annotate_dataset_output: str
# latest_annotate_dataset_timestamp: str
total_sgs_in_latest_annotate_dataset: int
Expand Down

0 comments on commit 0a352b4

Please sign in to comment.