nf-core / nf-core/tools

Configbuilder: _detect_module_system() and _get_container_systems() don't work as expected.

Open
#4,098 1 comment 0 reactions 1 assignee View on GitHub

@fredjaya is already working on this.

Since Mar 12, 2026.

bug
Dominant language
Python
Stars
322
Forks
255
Avg merge
2d 3h
Merged PRs (30d)
5

Description

Description of the bug

The _detect_module_system method in hpccustomisation.py should run module --version and return True if the command finished successfully and False otherwise. This should result in unhiding the module_system input field.

A similar method is defined in finalinfradetails.py and is used within the _get_container_systems() method, which also isn't working as expected, which should be detecting the container software on the system and auto-filling the container_system input field.

Command used and terminal output

System information

Hardware: HPC
Executor: PBSPro
OS: Linux
Container system: singularity

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.