mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-30 11:12:10 -05:00
Updated dumpsoftwareversions.py to match the pipeline template (#2045)
* Updated dumpsoftwareversions.py to match the pipeline template * Fixed the test Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
f0a86eaf5b
commit
de7b50fdd0
2 changed files with 7 additions and 6 deletions
|
@ -58,11 +58,12 @@ versions_by_module = {}
|
|||
for process, process_versions in versions_by_process.items():
|
||||
module = process.split(":")[-1]
|
||||
try:
|
||||
assert versions_by_module[module] == process_versions, (
|
||||
"We assume that software versions are the same between all modules. "
|
||||
"If you see this error-message it means you discovered an edge-case "
|
||||
"and should open an issue in nf-core/tools. "
|
||||
)
|
||||
if versions_by_module[module] != process_versions:
|
||||
raise AssertionError(
|
||||
"We assume that software versions are the same between all modules. "
|
||||
"If you see this error-message it means you discovered an edge-case "
|
||||
"and should open an issue in nf-core/tools. "
|
||||
)
|
||||
except KeyError:
|
||||
versions_by_module[module] = process_versions
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ workflow test_custom_dumpsoftwareversions {
|
|||
// cases where subworkflows have a module with the same name.
|
||||
fastqc1 ( input )
|
||||
fastqc2 ( input )
|
||||
MULTIQC ( fastqc2.out.zip.collect { it[1] }, [[],[]] )
|
||||
MULTIQC ( fastqc2.out.zip.collect { it[1] }, [], [], [] )
|
||||
|
||||
fastqc1
|
||||
.out
|
||||
|
|
Loading…
Reference in a new issue