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 10d9516 commit e62ad85
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 50 deletions.
33 changes: 8 additions & 25 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,19 @@
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Sample name must be provided and cannot contain spaces",
"meta": [
"id"
]
"meta": ["id"]
},
"condition": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Condition name must be provided and cannot contain spaces",
"meta": [
"condition"
]
"meta": ["condition"]
},
"assay": {
"type": "string",
"pattern": "^\\S+$",
"errorMessage": "Assay name must be provided and cannot contain spaces",
"meta": [
"assay"
]
"meta": ["assay"]
},
"peak_file": {
"type": "string",
Expand All @@ -42,33 +36,22 @@
"type": "boolean",
"default": true,
"errorMessage": "footprinting must be a boolean value",
"meta": [
"footprinting"
]
"meta": ["footprinting"]
},
"include_original": {
"type": "boolean",
"default": true,
"errorMessage": "include_original must be a boolean value",
"meta": [
"include_original"
]
"meta": ["include_original"]
},
"max_peak_gap": {
"type": "integer",
"default": 500,
"minimum": 0,
"errorMessage": "max_peak_gap must be a positive integer",
"meta": [
"max_peak_gap"
]
"meta": ["max_peak_gap"]
}
},
"required": [
"sample",
"condition",
"assay",
"peak_file"
]
"required": ["sample", "condition", "assay", "peak_file"]
}
}
}
16 changes: 3 additions & 13 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 @@ -381,14 +378,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_on_fail": {
Expand Down Expand Up @@ -478,4 +468,4 @@
"$ref": "#/$defs/generic_options"
}
]
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e62ad85

Please sign in to comment.