Skip to content

Commit 02e2a9c

Browse files
authored
Merge pull request #133 from nf-core/132-json-schema-nanostring
JSON schema
2 parents 243d864 + 3591cb9 commit 02e2a9c

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ Initial release of nf-core/nanostring, created with the [nf-core](https://nf-co.
1111

1212
### `Fixed`
1313

14-
### `Changed`
15-
14+
- [#133](https://github.com/nf-core/nanostring/pull/133/) - Improvements to JSON schema and minor linting changes
1615
- [#136](https://github.com/nf-core/nanostring/pull/136) - Replaced `NORMALIZE` and `QUALITY_CONTROL` for its modules.
1716

1817
### `Dependencies`

nextflow_schema.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@
2828
"format": "directory-path",
2929
"description": "The output directory where the results will be saved. You have to use absolute paths to storage on Cloud infrastructure.",
3030
"fa_icon": "fas fa-folder-open"
31-
},
32-
"email": {
33-
"type": "string",
34-
"description": "Email address for completion summary.",
35-
"fa_icon": "fas fa-envelope",
36-
"help_text": "Set this parameter to your e-mail address to get a summary e-mail with details of the run sent to you when the workflow exits. If set in your user config file (`~/.nextflow/config`) then you don't need to specify this on the command line for every run.",
37-
"pattern": "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"
38-
},
39-
"multiqc_title": {
40-
"type": "string",
41-
"description": "MultiQC report title. Printed as page header, used for filename if not otherwise specified.",
42-
"fa_icon": "fas fa-file-signature"
4331
}
4432
}
4533
},
@@ -71,6 +59,7 @@
7159
"normalization_method": {
7260
"type": "string",
7361
"default": "GEO",
62+
"enum": ["GEO", "GLM"],
7463
"fa_icon": "fas fa-compress-arrows-alt",
7564
"description": "The method to use for normalization of nCounter data.",
7665
"help_text": "Available options are `GEO` (default) or `GLM`."
@@ -91,7 +80,7 @@
9180
"description": "This selects the algorithm for computing the respective gene score. Default is 'plage.dir'."
9281
},
9382
"gene_score_yaml": {
94-
"type": "string",
83+
"format": "file-path",
9584
"fa_icon": "fas fa-align-justify",
9685
"help_text": "The YAML format is as such:\n\n```\nscore_name: \n - GENE1\n - GENE2\n - GENE3\n```",
9786
"description": "This sets the YAML to be used for computing the gene scores. Needs both a name for each set of genes and respective genes to be selected."
@@ -209,6 +198,13 @@
209198
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
210199
"hidden": true
211200
},
201+
"email": {
202+
"type": "string",
203+
"description": "Email address for completion summary.",
204+
"fa_icon": "fas fa-envelope",
205+
"help_text": "Set this parameter to your e-mail address to get a summary e-mail with details of the run sent to you when the workflow exits. If set in your user config file (`~/.nextflow/config`) then you don't need to specify this on the command line for every run.",
206+
"pattern": "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"
207+
},
212208
"email_on_fail": {
213209
"type": "string",
214210
"description": "Email address for completion summary, only when pipeline fails.",
@@ -244,6 +240,11 @@
244240
"help_text": "Incoming hook URL for messaging service. Currently, MS Teams and Slack are supported.",
245241
"hidden": true
246242
},
243+
"multiqc_title": {
244+
"type": "string",
245+
"description": "MultiQC report title. Printed as page header, used for filename if not otherwise specified.",
246+
"fa_icon": "fas fa-file-signature"
247+
},
247248
"multiqc_config": {
248249
"type": "string",
249250
"format": "file-path",

0 commit comments

Comments
 (0)