Skip to content

Commit ea77916

Browse files
committed
Fix schemas
1 parent a4256e1 commit ea77916

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

assets/schema_input.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,17 @@
4242
"type": "string",
4343
"pattern": "^\\S+$",
4444
"errorMessage": "Antibody entry cannot contain spaces",
45-
"dependentRequired": ["control"],
4645
"meta": ["antibody"]
4746
},
4847
"control": {
4948
"type": "string",
5049
"pattern": "^\\S+$",
5150
"errorMessage": "Control entry cannot contain spaces",
52-
"dependentRequired": ["antibody", "control_replicate"],
5351
"meta": ["control"]
5452
},
5553
"control_replicate": {
56-
"type": "string",
57-
"pattern": "^\\S+$",
58-
"errorMessage": "Control entry cannot contain spaces",
54+
"type": "integer",
55+
"errorMessage": "Replicate id not an integer!",
5956
"meta": ["control_replicate"]
6057
}
6158
},

conf/test.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
----------------------------------------------------------------------------------------
1111
*/
1212

13+
// Limit resources so that this can run on GitHub Actions
1314
process {
1415
resourceLimits = [
1516
cpus: 4,

nextflow_schema.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,25 +163,17 @@
163163
"igenomes_base": {
164164
"type": "string",
165165
"format": "directory-path",
166-
"description": "Directory / URL base for iGenomes references.",
167-
"default": "s3://ngi-igenomes/igenomes/",
168-
"fa_icon": "fas fa-cloud-download-alt",
169-
"hidden": true
166+
"description": "The base path to the igenomes reference files",
167+
"fa_icon": "fas fa-ban",
168+
"hidden": true,
169+
"default": "s3://ngi-igenomes/igenomes/"
170170
},
171171
"igenomes_ignore": {
172172
"type": "boolean",
173173
"description": "Do not load the iGenomes reference config.",
174174
"fa_icon": "fas fa-ban",
175175
"hidden": true,
176176
"help_text": "Do not load `igenomes.config` when running the pipeline. You may choose this option if you observe clashes between custom parameters and those supplied in `igenomes.config`."
177-
},
178-
"igenomes_base": {
179-
"type": "string",
180-
"format": "directory-path",
181-
"description": "The base path to the igenomes reference files",
182-
"fa_icon": "fas fa-ban",
183-
"hidden": true,
184-
"default": "s3://ngi-igenomes/igenomes/"
185177
}
186178
},
187179
"required": ["fasta"]

0 commit comments

Comments
 (0)