Skip to content

Commit

Permalink
fix custom_images
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Sep 6, 2024
1 parent e4f3fa5 commit b3610db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cg/meta/upload/scout/raredisease_config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ def build_load_config(self, rank_score_threshold: int = 5) -> None:
self.include_pedigree_picture()

LOG.info("Adding custom images")
for db_sample in self.analysis_obj.case.links:
self.load_config.custom_images.append(self.build_custom_image_sample(case_sample=db_sample))
self.load_config.custom_images = self.build_custom_image_sample()

def include_pedigree_picture(self) -> None:
if self.is_multi_sample_case(self.load_config):
Expand Down Expand Up @@ -120,7 +119,7 @@ def build_config_sample(self, case_sample: CaseSample) -> ScoutRarediseaseIndivi
return config_sample


def build_custom_image_sample(self, case_sample: CaseSample) -> CustomImages:
def build_custom_image_sample(self) -> CustomImages:
"Build custom images config"
config_custom_images = CustomImages()

Expand Down

0 comments on commit b3610db

Please sign in to comment.