Skip to content

Commit

Permalink
Patch scout uploads (#3867)
Browse files Browse the repository at this point in the history
#### Added
- Declare None instead of empty custom images
  • Loading branch information
rannick authored Oct 21, 2024
1 parent 217bd12 commit d3745fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cg/meta/upload/scout/raredisease_config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from cg.apps.madeline.api import MadelineAPI
from cg.constants.housekeeper_tags import HK_DELIVERY_REPORT_TAG
from cg.constants.scout import (
GenomeBuild,
RAREDISEASE_CASE_TAGS,
RAREDISEASE_SAMPLE_TAGS,
GenomeBuild,
UploadTrack,
)
from cg.meta.upload.scout.hk_tags import CaseTags, SampleTags
Expand Down
3 changes: 2 additions & 1 deletion cg/models/scout/scout_load_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from pydantic import BaseModel, BeforeValidator, ConfigDict
from typing_extensions import Annotated, Literal

from cg.constants.scout import UploadTrack
from cg.models.scout.validators import field_not_none

Expand Down Expand Up @@ -118,7 +119,7 @@ class ScoutLoadConfig(BaseModel):
sv_rank_model_version: str | None = None
analysis_date: datetime | None = None
samples: list[ScoutIndividual] = []
custom_images: CustomImages = CustomImages()
customer_images: CustomImages | None = None
delivery_report: str | None = None
coverage_qc_report: str | None = None
cnv_report: str | None = None
Expand Down

0 comments on commit d3745fd

Please sign in to comment.