diff --git a/modules/nf-core/nextclade/datasetget/main.nf b/modules/nf-core/nextclade/datasetget/main.nf index f09c7f06e492..e4d27ee731d2 100644 --- a/modules/nf-core/nextclade/datasetget/main.nf +++ b/modules/nf-core/nextclade/datasetget/main.nf @@ -34,6 +34,7 @@ process NEXTCLADE_DATASETGET { cat <<-END_VERSIONS > versions.yml "${task.process}": nextclade: \$(echo \$(nextclade --version 2>&1) | sed 's/^.*nextclade //; s/ .*\$//') + nextclade-tag: \$(grep "tag" $dataset/pathogen.json | sed -n 's/.*"tag": "\\([0-9-]\\+Z\\)".*/\\1/p') END_VERSIONS """ diff --git a/modules/nf-core/nextclade/datasetget/tests/main.nf.test.snap b/modules/nf-core/nextclade/datasetget/tests/main.nf.test.snap index 7e32fd29f740..b3fd16cecce4 100644 --- a/modules/nf-core/nextclade/datasetget/tests/main.nf.test.snap +++ b/modules/nf-core/nextclade/datasetget/tests/main.nf.test.snap @@ -53,7 +53,7 @@ ] ], "1": [ - "versions.yml:md5,694bddc418ec45dbcf5548a26ec5680c" + "versions.yml:md5,06c17f4f7d4d4db1dfc3a3c844207a18" ], "dataset": [ [ @@ -67,14 +67,14 @@ ] ], "versions": [ - "versions.yml:md5,694bddc418ec45dbcf5548a26ec5680c" + "versions.yml:md5,06c17f4f7d4d4db1dfc3a3c844207a18" ] } ], "meta": { - "nf-test": "0.9.2", - "nextflow": "24.10.5" + "nf-test": "0.9.3", + "nextflow": "25.10.2" }, - "timestamp": "2025-03-27T18:16:05.266547221" + "timestamp": "2026-01-14T15:25:46.936906352" } } \ No newline at end of file