proteinfold icon indicating copy to clipboard operation
proteinfold copied to clipboard

nf-tests do not capture versions from container contents

Open jscgh opened this issue 5 months ago • 0 comments

Description of the bug

Versions of container contents are not captured by nf-tests. This occurs for any version information that is retrieved from the software itself (e.g., running a version command inside the container) and not manually set as a variable in the workflow.

Example: https://github.com/nf-core/proteinfold/blob/668c988a275d65e600471d3340dabfe2c28cbe04/tests/colabfold_local.nf.test.snap#L14-L16 https://github.com/nf-core/proteinfold/blob/38aff42d9189fd2863053942005e0fd4eca768c1/tests/alphafold2_split.nf.test.snap#L14

The test profiles use container = 'biocontainers/gawk:5.1.0' instead of the full image, which means the actual version information from the module containers are not captured.

Command used and terminal output


Relevant files

No response

System information

No response

jscgh avatar Aug 06 '25 08:08 jscgh