Skip to content

Commit 6433b3d

Browse files
committed
match template
1 parent 80939db commit 6433b3d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*.config linguist-language=nextflow
2+
modules/nf-core/** linguist-generated
3+
subworkflows/nf-core/** linguist-generated

lib/NfcoreSchema.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ class NfcoreSchema {
206206
}
207207
def type = '[' + group_params.get(param).type + ']'
208208
def description = group_params.get(param).description
209-
def defaultValue = group_params.get(param).default ? " [default: " + group_params.get(param).default.toString() + "]" : ''
209+
def defaultValue = group_params.get(param).default != null ? " [default: " + group_params.get(param).default.toString() + "]" : ''
210210
def description_default = description + colors.dim + defaultValue + colors.reset
211211
// Wrap long description texts
212212
// Loosely based on https://dzone.com/articles/groovy-plain-text-word-wrap
@@ -362,7 +362,7 @@ class NfcoreSchema {
362362
}
363363
}
364364
for (ex in causingExceptions) {
365-
printExceptions(ex, params_json, log)
365+
printExceptions(ex, params_json, log, enums)
366366
}
367367
}
368368

lib/NfcoreTemplate.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class NfcoreTemplate {
2424
public static void checkConfigProvided(workflow, log) {
2525
if (workflow.profile == 'standard' && workflow.configFiles.size() <= 1) {
2626
log.warn "[$workflow.manifest.name] You are attempting to run the pipeline without any custom configuration!\n\n" +
27-
"This will be dependent on your local compute enviroment but can be acheived via one or more of the following:\n" +
27+
"This will be dependent on your local compute environment but can be achieved via one or more of the following:\n" +
2828
" (1) Using an existing pipeline profile e.g. `-profile docker` or `-profile singularity`\n" +
2929
" (2) Using an existing nf-core/configs for your Institution e.g. `-profile crick` or `-profile uppmax`\n" +
3030
" (3) Using your own local custom config e.g. `-c /path/to/your/custom.config`\n\n" +

0 commit comments

Comments
 (0)