Skip to content

Commit 4fcf7c2

Browse files
committed
Add secret to the Nextflow helper script
1 parent bfc6277 commit 4fcf7c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/resources/io/viash/runners/nextflow/VDSL3Helper.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ def _vdsl3ProcessFactory(Map workflowArgs, Map meta, String rawScript) {
159159
}
160160
}
161161

162-
// multiple entries allowed: label, publishdir
162+
// multiple entries allowed: label, publishdir, secret
163163
def drctvStrs = drctv.collect { key, value ->
164-
if (key in ["label", "publishDir"]) {
164+
if (key in ["label", "publishDir", "secret"]) {
165165
value.collect{ val ->
166166
if (val instanceof Map) {
167167
"\n$key " + val.collect{ k, v -> k + ": " + valueToStr(v) }.join(", ")

0 commit comments

Comments
 (0)