Skip to content

Commit

Permalink
Revert to what main was before, I've pushed by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Mar 26, 2024
1 parent 77095c5 commit 8812dcc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
### Fixed
- Avoid MySQLdb.OperationalError `Server has gone away` by modifying by setting `pool_pre_ping=True` when creating the engine
- Coverage report screenshot displayed on README page and on the documenattion to reflect true statistics from the demo samples
- Coverage overview over a gene should return transcript statistics if D4 file contains WGS data

## [1.5]
### Added
Expand Down
7 changes: 0 additions & 7 deletions src/chanjo2/models/pydantic_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,6 @@ def coverage_thresholds_validator(cls, completeness_thresholds: str):
thresholds: List[str] = completeness_thresholds.split(",")
return [int(threshold.strip()) for threshold in thresholds]

@field_validator("interval_type", mode="before")
def interval_type_validator(cls, interval_type: IntervalType):
"""Make sure that Gene stats are including transcript data even if it's a WGS analysis."""
if interval_type == IntervalType.GENES:
return IntervalType.TRANSCRIPTS
return interval_type


class SampleSexRow(BaseModel):
sample: str
Expand Down

0 comments on commit 8812dcc

Please sign in to comment.