From 486eebfd298d6b603106c8def8557b6caf0af58e Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Thu, 30 Jun 2022 00:30:51 +0200 Subject: [PATCH] Update RGI: add database version reporting to module (#1824) * Add rgi database version to module as fixed within the container/environment * Remove check of the version file * Or rather check for existance of the versions file not contents * Delete main.nf Co-authored-by: Robert A. Petit III --- modules/rgi/main/main.nf | 1 + tests/modules/rgi/main/test.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/rgi/main/main.nf b/modules/rgi/main/main.nf index bf00d333..1974ffa3 100644 --- a/modules/rgi/main/main.nf +++ b/modules/rgi/main/main.nf @@ -32,6 +32,7 @@ process RGI_MAIN { cat <<-END_VERSIONS > versions.yml "${task.process}": rgi: \$(rgi main --version) + rgi-database: \$(rgi database --version) END_VERSIONS """ } diff --git a/tests/modules/rgi/main/test.yml b/tests/modules/rgi/main/test.yml index 65d4ad9f..b3941895 100644 --- a/tests/modules/rgi/main/test.yml +++ b/tests/modules/rgi/main/test.yml @@ -8,5 +8,3 @@ contains: ["NZ_LS483480", "orf_end", "perc_identity", "Pulvomycin"] - path: output/rgi/test.txt contains: ["NZ_LS483480", "ORF_ID", "Model_type", "Pulvomycin"] - - path: output/rgi/versions.yml - md5sum: 614a45d9d59680d4e743498773cf830a