Skip to content

Commit

Permalink
add manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Sep 6, 2024
1 parent ca3fe01 commit ea53580
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion cg/cli/upload/scout.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def create_scout_load_config(context: CGConfig, case_id: str, print_console: boo
LOG.warning(repr(error))
raise click.Abort from error
LOG.info(f"Found load config: {scout_load_config}")
LOG.info(f"Found load config: {scout_load_config.dict()}")

root_dir: str = context.meta_apis["upload_api"].analysis_api.root
LOG.info(f"Set root dir to {root_dir}")
Expand Down
9 changes: 0 additions & 9 deletions cg/meta/upload/scout/raredisease_config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,22 +134,13 @@ def build_custom_image_sample(self) -> CustomImages:
eklipse_images.append(eklipse_image)

case_images = CaseImages(eKLIPse=eklipse_images)
print(case_images)
config_custom_images = CustomImages(case_images=case_images)
print(config_custom_images)
# Create a CaseImages object with the populated eklipse_images list
# case_images = CaseImages(eKLIPse=eklipse_images)

# Finally, create the CustomImages object with the case_images
# config_custom_images = CustomImages(case_images=case_images)

return config_custom_images

def include_case_files(self) -> None:
"""Include case level files for mip case"""
LOG.info("Including RAREDISEASE specific case level files")
for scout_key in RAREDISEASE_CASE_TAGS.keys():
LOG.info(f"Scout key: {scout_key}")
self._include_case_file(scout_key)

def _include_case_file(self, scout_key) -> None:
Expand Down
6 changes: 6 additions & 0 deletions cg/resources/raredisease_bundle_filenames.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,3 +1078,9 @@
path_index: ~
step: nextflow-config
tag: nextflow-config
- format: json
id: CASEID
path: PATHTOCASE/manifest.json
path_index: ~
step: manifest
tag: manifest

0 comments on commit ea53580

Please sign in to comment.