mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00: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.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ def initOptions(Map args) {
|
|||
options.args2 = args.args2 ?: ''
|
||||
options.publish_by_id = args.publish_by_id ?: false
|
||||
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 ?: ''
|
||||
return options
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue