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")