Skip to content

Commit

Permalink
Merge branch 'main' into rm-balsamic-qc
Browse files Browse the repository at this point in the history
  • Loading branch information
diitaz93 committed Feb 11, 2025
2 parents f67517a + fa8747c commit ded0499
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 5.1.2
current_version = 5.1.4
commit = True
tag = True
tag_name = {new_version}
Expand Down
6 changes: 0 additions & 6 deletions cg_hermes/config/balsamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
RAW_TAGS = {
# Config, QC and reports (PANEL & WGS)
"config.json": ["balsamic-config"],
"report.html": ["balsamic-report"],
"BALSAMIC_X.X.X_graph.pdf": ["balsamic-dag"],
"multiqc_report.html": ["html", "multiqc-html"],
"multiqc_data.json": ["json", "multiqc-json"],
Expand Down Expand Up @@ -253,11 +252,6 @@
"is_mandatory": True,
"used_by": ["audit", "cg"],
},
frozenset(RAW_TAGS["report.html"]): { # BALSAMIC report html
"tags": ["balsamic-report"],
"is_mandatory": True,
"used_by": ["audit"],
},
frozenset(RAW_TAGS["BALSAMIC_X.X.X_graph.pdf"]): { # DAG
"tags": ["balsamic-dag"],
"is_mandatory": True,
Expand Down
2 changes: 1 addition & 1 deletion cg_hermes/constants/hermes.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
HERMES_VERSION = "5.1.2"
HERMES_VERSION = "5.1.4"
2 changes: 0 additions & 2 deletions cg_hermes/constants/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ def description(self) -> str:
class BalsamicTags(StrEnum):
BALSAMIC_CONFIG: str = "balsamic-config"
BALSAMIC_DAG: str = "balsamic-dag"
BALSAMIC_REPORT: str = "balsamic-report"

@classmethod
def name(cls) -> str:
Expand All @@ -529,7 +528,6 @@ def description(self) -> str:
descriptions: dict[str, BalsamicTags] = {
self.BALSAMIC_CONFIG: "Balsamic configs for analysis",
self.BALSAMIC_DAG: "Balsamic run schema",
self.BALSAMIC_REPORT: "Report from analysis",
}
return descriptions.get(self, "Description not available")

Expand Down
1 change: 0 additions & 1 deletion docs/balsamic_map.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
| Balsamic tags | Mandatory | HK tags | Used by |
|----------------------------------------------------------------|-------------|-------------------------------------------|-----------------------|
| balsamic-config | True | balsamic-config | audit, cg |
| balsamic-report | True | balsamic-report | audit |
| balsamic-dag | True | balsamic-dag | audit |
| html, multiqc-html | True | multiqc-html | audit, deliver, scout |
| json, multiqc-json | True | multiqc-json | audit |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cg-hermes"
version = "5.1.2"
version = "5.1.4"
description = "Convert information between pipelines and CG"
authors = ["Måns Magnusson <[email protected]>"]

Expand Down
9 changes: 0 additions & 9 deletions tests/fixtures/balsamic/TN_panel.hk
Original file line number Diff line number Diff line change
Expand Up @@ -1082,15 +1082,6 @@
"id": "TN-panel",
"format": "stats"
},
{
"path": "TN-panel/analysis/delivery_report/TN-panel_report.html",
"step": "balsamic_delivery",
"format": "html",
"tag": [
"balsamic-report"
],
"id": "TN-panel"
},
{
"path": "TN-panel/TN-panel.json",
"step": "case_config",
Expand Down
9 changes: 0 additions & 9 deletions tests/fixtures/balsamic/TN_wgs.hk
Original file line number Diff line number Diff line change
Expand Up @@ -890,15 +890,6 @@
"id": "tumorsample",
"format": "tbi"
},
{
"path": "TN-wgs/analysis/delivery_report/TN-wgs_report.html",
"step": "balsamic_delivery",
"format": "html",
"tag": [
"balsamic-report"
],
"id": "TN-wgs"
},
{
"path": "TN-wgs/TN-wgs.json",
"step": "case_config",
Expand Down
9 changes: 0 additions & 9 deletions tests/fixtures/balsamic/T_panel.hk
Original file line number Diff line number Diff line change
Expand Up @@ -872,15 +872,6 @@
"id": "tumorsample",
"format": "crai"
},
{
"path": "T-panel/analysis/delivery_report/T-panel_report.html",
"step": "balsamic_delivery",
"format": "html",
"tag": [
"balsamic-report"
],
"id": "T-panel"
},
{
"path": "T-panel/T-panel.json",
"step": "case_config",
Expand Down
9 changes: 0 additions & 9 deletions tests/fixtures/balsamic/T_wgs.hk
Original file line number Diff line number Diff line change
Expand Up @@ -605,15 +605,6 @@
"id": "215172",
"format": "tbi"
},
{
"path": "T-wgs/analysis/delivery_report/T-wgs_report.html",
"step": "balsamic_delivery",
"format": "html",
"tag": [
"balsamic-report"
],
"id": "T-wgs"
},
{
"path": "T-wgs/T-wgs.json",
"step": "case_config",
Expand Down

0 comments on commit ded0499

Please sign in to comment.