mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-08 15:02:09 -05:00
editorconfig
This commit is contained in:
parent
db0b631906
commit
32f6191ff3
2 changed files with 120 additions and 120 deletions
|
@ -31,7 +31,7 @@ def initOptions(Map args) {
|
||||||
*/
|
*/
|
||||||
def getPathFromList(path_list) {
|
def getPathFromList(path_list) {
|
||||||
def paths = path_list.findAll { item -> !item?.trim().isEmpty() } // Remove empty entries
|
def paths = path_list.findAll { item -> !item?.trim().isEmpty() } // Remove empty entries
|
||||||
paths = paths.collect { it.trim().replaceAll("^[/]+|[/]+\$", "") } // Trim whitespace and trailing slashes
|
paths = paths.collect { it.trim().replaceAll("^[/]+|[/]+\$", '') } // Trim whitespace and trailing slashes
|
||||||
return paths.join('/')
|
return paths.join('/')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ def initOptions(Map args) {
|
||||||
*/
|
*/
|
||||||
def getPathFromList(path_list) {
|
def getPathFromList(path_list) {
|
||||||
def paths = path_list.findAll { item -> !item?.trim().isEmpty() } // Remove empty entries
|
def paths = path_list.findAll { item -> !item?.trim().isEmpty() } // Remove empty entries
|
||||||
paths = paths.collect { it.trim().replaceAll("^[/]+|[/]+\$", "") } // Trim whitespace and trailing slashes
|
paths = paths.collect { it.trim().replaceAll("^[/]+|[/]+\$", '') } // Trim whitespace and trailing slashes
|
||||||
return paths.join('/')
|
return paths.join('/')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue