mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Changed options.publish_files definition in functions.nf/initOptions
This commit is contained in:
parent
47b6dd70e4
commit
789dc4f09a
24 changed files with 24 additions and 24 deletions
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
||||||
options.args2 = args.args2 ?: ''
|
options.args2 = args.args2 ?: ''
|
||||||
options.publish_by_id = args.publish_by_id ?: false
|
options.publish_by_id = args.publish_by_id ?: false
|
||||||
options.publish_dir = args.publish_dir ?: ''
|
options.publish_dir = args.publish_dir ?: ''
|
||||||
options.publish_files = args.publish_files ?: null
|
options.publish_files = (args.publish_files instanceof Map) ? args.publish_files : null
|
||||||
options.suffix = args.suffix ?: ''
|
options.suffix = args.suffix ?: ''
|
||||||
return options
|
return options
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue