Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'download-refactor-again' into move-gather-registries
  • Loading branch information
ErikDanielsson committed Aug 1, 2025
commit b3e1306457f6c39f4d9d4ef55d3398672d7f0d65
7 changes: 6 additions & 1 deletion nf_core/pipelines/download/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,12 @@ def get_container_output_dir(self) -> Path:
return self.outdir / f"{self.container_system}-images"

def download_container_images(self, workflow_directory: Path, current_revision: str = "") -> None:
"""Loop through container names and download Singularity images"""
"""
Fetch the container images with the appropriate ContainerFetcher

Args:
current_revision (str): The current revision of the workflow.
"""

if len(self.containers) == 0:
log.info("No container names found in workflow")
Expand Down
2 changes: 1 addition & 1 deletion tests/pipelines/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def test_singularity_pull_image_successfully(self, tmp_dir, mock_progress):
singularity_fetcher.check_and_set_implementation()
singularity_fetcher.progress = mock_progress()
singularity_fetcher.registry_set = {}
singularity_fetcher.pull_image("hello-world", f"{tmp_dir}/yet-another-hello-world.sif", "docker.io")
singularity_fetcher.pull_image("hello-world", tmp_dir / "yet-another-hello-world.sif", "docker.io")

#
# Tests for 'DockerFetcher.pull_and_save_image'
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.