Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpru committed Jan 24, 2025
1 parent 05bea20 commit 019738b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
6 changes: 6 additions & 0 deletions cg/models/nallo/nallo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
from cg.models.nf_analysis import WorkflowParameters


class NalloQCMetrics(BaseModel):
"""Nallo QC metrics"""

median_coverage: float | None


class NalloSampleSheetEntry(BaseModel):
"""Nallo sample model is used when building the sample sheet."""

Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2567,7 +2567,6 @@ def nallo_context(
case_id_not_enough_reads: str,
sample_id_not_enough_reads: str,
total_sequenced_reads_not_pass: int,
mocker: MockFixture,
) -> CGConfig:
"""context to use in cli"""
cg_context.housekeeper_api_ = nf_analysis_housekeeper
Expand Down
13 changes: 0 additions & 13 deletions tests/fixtures/analysis/nallo/multiqc_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
"report_general_stats_data": [
{
"ADM1": {
"mean_coverage": 32.18,
"min_coverage": 0.0,
"max_coverage": 63906.0,
"coverage_bases": 99366056494,
"length": 3088286377,
"1_x_pc": 94.0,
"5_x_pc": 94.0,
"10_x_pc": 93.0,
"30_x_pc": 65.0,
"50_x_pc": 2.0,
"median_coverage": 13
},
"ADM2": {
"mean_coverage": 32.18,
"min_coverage": 0.0,
"max_coverage": 63906.0,
Expand Down

0 comments on commit 019738b

Please sign in to comment.