mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Merge pull request #66 from Jeremy1805/master
Changed options.publish_files definition in functions.nf/initOptions
This commit is contained in:
commit
b1b0a6e3b1
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