Skip to content

Commit

Permalink
Add deliverable tag to metrics deliver
Browse files Browse the repository at this point in the history
  • Loading branch information
ivadym committed Feb 19, 2024
1 parent d70ea61 commit f7f436a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cg/constants/housekeeper_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ class HkMipAnalysisTag:
SAMPLE_INFO: list[str] = ["sample-info"]


class BalsamicAnalysisTag(StrEnum):
CONFIG: str = "balsamic-config"
QC_METRICS: str = "qc-metrics"
class BalsamicAnalysisTag:
CONFIG: list[str] = ["balsamic-config"]
QC_METRICS: list[str] = ["qc-metrics", "deliverable"]


class GensAnalysisTag:
Expand Down
4 changes: 2 additions & 2 deletions cg/meta/workflow/balsamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ def get_latest_raw_file_data(self, case_id: str, tags: list) -> dict | list:
def get_latest_metadata(self, case_id: str) -> BalsamicAnalysis:
"""Get the latest metadata of a specific BALSAMIC case"""

config_raw_data = self.get_latest_raw_file_data(case_id, [BalsamicAnalysisTag.CONFIG])
metrics_raw_data = self.get_latest_raw_file_data(case_id, [BalsamicAnalysisTag.QC_METRICS])
config_raw_data = self.get_latest_raw_file_data(case_id, BalsamicAnalysisTag.CONFIG)
metrics_raw_data = self.get_latest_raw_file_data(case_id, BalsamicAnalysisTag.QC_METRICS)

if config_raw_data and metrics_raw_data:
try:
Expand Down

0 comments on commit f7f436a

Please sign in to comment.