I think someone needs to add ``` { ...
# team-maintainers
f
I think someone needs to add
Copy code
{ assert snapshot(
                    path(process.out.versions[0]).yaml,
                    process.out.versions,
                    ).match("versions")
at least to all stub tests so we avoid later problems... and I think we need to enforce this with module updates and new modules. Anyone up for a
grep
? https://nfcore.slack.com/archives/CE6SDBX2A/p1739804580418849?thread_ts=1729450701.931269&cid=CE6SDBX2A
homer disappear 1
p
Coming in late here, but the problem is that the version call spews out a lot more stuff than just the version?
👍 1
Rather than adjusting the tests for that, I think we should adjust where the version is captured
f
Maybe its not samtools after all its just the most likely one. But its hard to tell because the versions yaml is not even printed into the snaps 😞
Maybe it needs to be replaced by
Copy code
samtools --version | grep '^samtools' | cut -d ' ' -f 2
p
But its hard to tell because the versions yaml is not even printed into the snaps 😞
This sounds fixable on the nf-test side 💯
👀 1