From 40f0f8e2f68944c2c2dddb6a9e1a0db22c3db8bc Mon Sep 17 00:00:00 2001 From: "Dr. Ernie Prabhakar" <19791+drernie@users.noreply.github.com> Date: Wed, 11 Sep 2024 17:03:34 -0700 Subject: [PATCH] fix windows tests --- plugins/nf-quilt/src/main/nextflow/quilt/QuiltObserver.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltObserver.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltObserver.groovy index d7d85880..5381fbd9 100644 --- a/plugins/nf-quilt/src/main/nextflow/quilt/QuiltObserver.groovy +++ b/plugins/nf-quilt/src/main/nextflow/quilt/QuiltObserver.groovy @@ -131,8 +131,9 @@ class QuiltObserver implements TraceObserver { } } - String pkgRelative(String pkgKey, Path dest) { + String pkgRelative(String key, Path dest) { String destString = QuiltPackage.osConvert(dest.toAbsolutePath().normalize().toString()) + String pkgKey = QuiltPackage.osConvert(key) // find pkgKey in destination.toString() int index = destString.indexOf(pkgKey) println("pkgRelative[$index]: $pkgKey in $destString")