From 62e50344032db13afa0b40614c2287364c9adda0 Mon Sep 17 00:00:00 2001 From: f641l Date: Thu, 21 May 2026 08:33:59 +0200 Subject: [PATCH] minor change in spatialxe.nf --- workflows/spatialxe.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflows/spatialxe.nf b/workflows/spatialxe.nf index 169968e..be6b7cf 100644 --- a/workflows/spatialxe.nf +++ b/workflows/spatialxe.nf @@ -205,12 +205,12 @@ workflow SPATIALXE { error("❌ Xenium bundle does not exist: ${bundle}") } - def missing_required = bundle_required_files.findAll { !file("${bundle_path}/${it}").exists() } + def missing_required = bundle_required_files.findAll { check -> !file("${bundle_path}/${check}").exists() } if (missing_required) { error("❌ Missing required file(s) in xenium bundle '${bundle}': ${missing_required}") } - def missing_optional = bundle_optional_files.findAll { !file("${bundle_path}/${it}").exists() } + def missing_optional = bundle_optional_files.findAll { check -> !file("${bundle_path}/${check}").exists() } if (missing_optional) { log.warn("⚠️ Missing optional file(s) in xenium bundle '${bundle}': ${missing_optional}") }