Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Oct 16, 2024
1 parent cc6bff6 commit 7b3dd3a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 49 deletions.
15 changes: 4 additions & 11 deletions assets/schema_annotation.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Annotation file name must be provided and cannot contain spaces",
"meta": [
"id"
]
"meta": ["id"]
},
"file": {
"type": "string",
Expand All @@ -28,14 +26,9 @@
"maximum": 1,
"default": 0.9,
"errorMessage": "Minimum overlap must be a number between 0 and 1",
"meta": [
"min_overlap"
]
"meta": ["min_overlap"]
}
},
"required": [
"name",
"file"
]
"required": ["name", "file"]
}
}
}
22 changes: 5 additions & 17 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces",
"meta": [
"id"
]
"meta": ["id"]
},
"fastq_1": {
"type": "string",
Expand All @@ -31,22 +29,12 @@
},
"strandedness": {
"type": "string",
"enum": [
"unstranded",
"forward",
"reverse",
"auto"
],
"enum": ["unstranded", "forward", "reverse", "auto"],
"default": "auto",
"errorMessage": "Strandedness must be one of 'unstranded', 'forward', 'reverse' or 'auto'",
"meta": [
"strandedness"
]
"meta": ["strandedness"]
}
},
"required": [
"sample",
"fastq_1"
]
"required": ["sample", "fastq_1"]
}
}
}
7 changes: 2 additions & 5 deletions assets/schema_phenotype.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"errorMessage": "Condition name must be provided and cannot contain spaces"
}
},
"required": [
"sample",
"condition"
]
"required": ["sample", "condition"]
}
}
}
20 changes: 4 additions & 16 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": [
"input",
"outdir"
],
"required": ["input", "outdir"],
"properties": {
"input": {
"type": "string",
Expand Down Expand Up @@ -62,9 +59,7 @@
"type": "object",
"fa_icon": "fas fa-circle-notch",
"description": "Parameters for circrna discovery.",
"required": [
"tools"
],
"required": ["tools"],
"properties": {
"tools": {
"type": "string",
Expand Down Expand Up @@ -526,14 +521,7 @@
"description": "Method used to save pipeline results to output directory.",
"help_text": "The Nextflow `publishDir` option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See [Nextflow docs](https://www.nextflow.io/docs/latest/process.html#publishdir) for details.",
"fa_icon": "fas fa-copy",
"enum": [
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
],
"enum": ["symlink", "rellink", "link", "copy", "copyNoFollow", "move"],
"hidden": true
},
"email": {
Expand Down Expand Up @@ -661,4 +649,4 @@
"$ref": "#/definitions/generic_options"
}
]
}
}

0 comments on commit 7b3dd3a

Please sign in to comment.