Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stephanie Spielman <stephanie.spielman@gmail.com>
  • Loading branch information
jashapiro and sjspielman authored Mar 7, 2024
1 parent c9cda49 commit 353a171
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion merge.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (!file(params.run_metafile).exists()) {
param_error = true
}

if(param_error) {
if (param_error) {
System.exit(1)
}

Expand Down
14 changes: 7 additions & 7 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "object",
"fa_icon": "fas fa-terminal",
"description": "Define where the pipeline should find input data and save output data.",
"required": ["outdir", "run_metafile"],
"required": ["outdir", "run_metafile", "sample_metafile"],
"properties": {
"outdir": {
"type": "string",
Expand Down Expand Up @@ -41,7 +41,7 @@
"fa_icon": "fas fa-file-alt",
"format": "file-path",
"mimetype": "text/tab-separated-values",
"description": "A file containing information to map cellhash barcodes to samples. See https://github.com/AlexsLemonade/scpca-nf/blob/main/external-instructions.md#multiplexed-cellhash-libraries"
"description": "A file containing information to map cellhash barcodes to samples. See https://github.com/AlexsLemonade/scpca-nf/blob/main/external-instructions.md#multiplexed-cellhash-libraries"
},
"results_dir": {
"type": "string",
Expand Down Expand Up @@ -167,13 +167,13 @@
"type": "string",
"default": "s3://scpca-references/celltype/singler_models",
"format": "directory-path",
"description": "Directory of singleR model files"
"description": "Directory of `SingleR` model files"
},
"cellassign_ref_dir": {
"type": "string",
"default": "s3://scpca-references/celltype/cellassign_references",
"format": "directory-path",
"description": "Directory of CellAssign reference data"
"description": "Directory of `CellAssign` reference data"
},
"ref_metadata": {
"type": "string",
Expand All @@ -193,7 +193,7 @@
"type": "string",
"default": "s3://scpca-references/celltype/singler_references",
"format": "directory-path",
"description": "Directory of singleR reference files, used in `build-celltype-ref.nf`",
"description": "Directory of `SingleR` reference files, used in `build-celltype-ref.nf`",
"hidden": true
},
"celltype_ref_metadata": {
Expand Down Expand Up @@ -238,7 +238,7 @@
"prob_compromised_cutoff": {
"type": "number",
"default": 0.75,
"description": "Cutoff for MiQC to keep a cell"
"description": "Cutoff for `miQC` to keep a cell"
},
"gene_cutoff": {
"type": "integer",
Expand Down Expand Up @@ -275,7 +275,7 @@
"singler_label_name": {
"type": "string",
"default": "label.ont",
"description": "Label name for singleR references"
"description": "Label name for `SingleR` references"
}
}
},
Expand Down

0 comments on commit 353a171

Please sign in to comment.