Niklas Schandry
02/12/2026, 8:04 AMdef processVersionsFromYAML(yaml_file) {
def yaml = new org.yaml.snakeyaml.Yaml()
def versions = yaml.load(yaml_file).collectEntries { k, v -> [k.tokenize(':')[-1], v] }
return yaml.dumpAsMap(versions).trim()
}
which is in utils_nfcore_pipeline
I assume that the issue is that there are some processes that emit a yaml, but others (those that are on topics) emit a list that is [taskname, software, version] is there some existing workaround I could use?mashehu
02/12/2026, 8:22 AMNiklas Schandry
02/12/2026, 8:27 AM