From 8eefe5c0d0706dd2c77b4d821289c4d1cdc23a78 Mon Sep 17 00:00:00 2001 From: Chiara Rasi Date: Thu, 10 Oct 2024 07:49:46 +0200 Subject: [PATCH 1/2] Major release 2.0 --- CHANGELOG.md | 2 +- src/chanjo2/demo/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 598b9fb3..cf875e40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [unreleased] +## [2.0] ### Added - Improve report explanation to better interpret average coverage and coverage completeness stats shown on the coverage report - Check that provided d4 files when running queries using `/coverage/d4/genes/summary` endpoint are valid, with test diff --git a/src/chanjo2/demo/__init__.py b/src/chanjo2/demo/__init__.py index f4c1ccb6..f3606b9e 100644 --- a/src/chanjo2/demo/__init__.py +++ b/src/chanjo2/demo/__init__.py @@ -2,12 +2,12 @@ from importlib_resources import files -from chanjo2.constants import BUILD_37, DEFAULT_COMPLETENESS_LEVELS +from chanjo2.constants import BUILD_37, BUILD_38, DEFAULT_COMPLETENESS_LEVELS BASE_PATH: str = "chanjo2.demo" GENE_PANEL_FILE: str = "109_green.bed" -D4_DEMO_FILE: str = "panelapp_109_example.d4" +D4_DEMO_FILE: str = "/Users/chiararasi/Documents/work/d4_data/hg002.d4" # Paths gene_panel_path = str(files(BASE_PATH).joinpath(GENE_PANEL_FILE)) @@ -31,7 +31,7 @@ # HTTP FORM-like data for generating a demo coverage report DEMO_COVERAGE_QUERY_FORM = { - "build": BUILD_37, + "build": BUILD_38, "samples": f"[{{'name': '{DEMO_SAMPLE['name']}', 'coverage_file_path': '{d4_demo_path}', 'case_name': '{DEMO_CASE['name']}', 'analysis_date': '{ANALYSIS_DATE}'}}]", "case_display_name": DEMO_CASE["name"], "gene_panel": "A test Panel 1.0", From 28ab8cdec15533ceb561f171f2e11971df35fb89 Mon Sep 17 00:00:00 2001 From: Chiara Rasi Date: Thu, 10 Oct 2024 14:54:51 +0200 Subject: [PATCH 2/2] whoops --- src/chanjo2/__init__.py | 2 +- src/chanjo2/demo/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chanjo2/__init__.py b/src/chanjo2/__init__.py index 0aa39095..2a2b8e09 100644 --- a/src/chanjo2/__init__.py +++ b/src/chanjo2/__init__.py @@ -1,4 +1,4 @@ from dotenv import load_dotenv -__version__ = "1.9" +__version__ = "2.0" load_dotenv() diff --git a/src/chanjo2/demo/__init__.py b/src/chanjo2/demo/__init__.py index f3606b9e..f4c1ccb6 100644 --- a/src/chanjo2/demo/__init__.py +++ b/src/chanjo2/demo/__init__.py @@ -2,12 +2,12 @@ from importlib_resources import files -from chanjo2.constants import BUILD_37, BUILD_38, DEFAULT_COMPLETENESS_LEVELS +from chanjo2.constants import BUILD_37, DEFAULT_COMPLETENESS_LEVELS BASE_PATH: str = "chanjo2.demo" GENE_PANEL_FILE: str = "109_green.bed" -D4_DEMO_FILE: str = "/Users/chiararasi/Documents/work/d4_data/hg002.d4" +D4_DEMO_FILE: str = "panelapp_109_example.d4" # Paths gene_panel_path = str(files(BASE_PATH).joinpath(GENE_PANEL_FILE)) @@ -31,7 +31,7 @@ # HTTP FORM-like data for generating a demo coverage report DEMO_COVERAGE_QUERY_FORM = { - "build": BUILD_38, + "build": BUILD_37, "samples": f"[{{'name': '{DEMO_SAMPLE['name']}', 'coverage_file_path': '{d4_demo_path}', 'case_name': '{DEMO_CASE['name']}', 'analysis_date': '{ANALYSIS_DATE}'}}]", "case_display_name": DEMO_CASE["name"], "gene_panel": "A test Panel 1.0",