Skip to content

Commit 5609d44

Browse files
authored
Update file examples (#1067)
1 parent f795fc4 commit 5609d44

55 files changed

Lines changed: 115 additions & 25 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646

4747
* Bump anndata to `0.12.11` (PR #1174).
4848

49+
* Add missing `example` fields to several component and workflow configurations (PR #1067).
50+
4951
* Testing: bump `viashpy` to 0.10.0 (PR #1178).
5052

5153
## BUG FIXES

src/annotate/onclass/config.vsh.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ argument_groups:
5151
type: file
5252
description: The .nlp.emb file with the cell type embeddings.
5353
required: true
54+
example: cl.ontology.nlp.emb
5455
- name: "--cl_ontology_file"
5556
type: file
5657
description: The .ontology file with the cell type ontology.
5758
required: true
59+
example: cl.ontology
5860
- name: "--cl_obo_file"
5961
type: file
6062
description: The .obo file with the cell type ontology.
6163
required: true
64+
example: cl.obo
6265

6366
- name: Reference
6467
description: Arguments related to the reference dataset.

src/annotate/scanvi/config.vsh.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ argument_groups:
2121
description: Input h5mu file. Note that this needs to be the exact same dataset as the --scvi_model was trained on.
2222
direction: input
2323
required: true
24+
example: input.h5mu
2425
- name: "--modality"
2526
description: |
2627
Which modality from the input MuData file to process.
@@ -67,6 +68,7 @@ argument_groups:
6768
- name: "--output"
6869
alternatives: ["-o"]
6970
type: file
71+
example: output.h5mu
7072
description: Output h5mu file.
7173
direction: output
7274
required: true
@@ -75,6 +77,7 @@ argument_groups:
7577
description: Folder where the state of the trained model will be saved to.
7678
required: false
7779
direction: output
80+
example: path/to/output_model/
7881
- name: "--obsm_output"
7982
type: string
8083
default: "X_scanvi_integrated"

src/compression/compress_h5mu/config.vsh.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ arguments:
1212
type: file
1313
description: Path to the input .h5mu.
1414
required: true
15-
example: sample_path
15+
example: input.h5mu
1616
direction: input
1717
- name: "--output"
1818
type: file
1919
description: location of output file.
2020
required: true
2121
direction: output
22+
example: output.h5mu
2223
__merge__: [., /src/base/h5_compression_argument.yaml]
2324
resources:
2425
- type: python_script

src/convert/from_10xh5_to_h5mu/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ argument_groups:
1919
- name: "--input_metrics_summary"
2020
type: file
2121
description: A metrics summary csv file as generated by Cell Ranger.
22-
example: metrics_cellranger.h5
22+
example: metrics_cellranger.csv
2323
- name: Outputs
2424
arguments:
2525
- name: "--output"

src/convert/from_bd_to_10x_molecular_barcode_tags/config.vsh.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ arguments:
1212
type: file
1313
must_exist: true
1414
description: Input SAM or BAM file.
15-
example: input.bam
15+
example: "input.bam"
1616
direction: input
1717
required: true
1818
- name: "--output"
1919
alternatives: ["-o"]
2020
type: file
2121
description: Output alignment file.
22-
example: output.sam
22+
example: "output.bam"
2323
direction: output
2424
- name: "--bam"
2525
type: boolean_true

src/convert/from_h5mu_or_h5ad_to_tiledb/config.vsh.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ argument_groups:
126126
arguments:
127127
- name: "--tiledb_dir"
128128
type: file
129+
example: path/to/tiledb_dir
129130
direction: output
130131
description: |
131132
Directory where the TileDB output will be written to.

src/dataflow/merge/config.vsh.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ arguments:
1414
description: Paths to the single-modality .h5mu files that need to be combined
1515
required: true
1616
default: sample_paths
17+
example: ["/path/to/modality_1.h5mu", "/path/to/modality_2.h5mu"]
1718
- name: "--output"
1819
description: Path to the output file.
1920
alternatives: ["-o"]

src/dataflow/split_h5mu/config.vsh.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ argument_groups:
1313
type: file
1414
description: Path to a single .h5mu file.
1515
required: true
16+
example: input.h5mu
1617
- name: "--modality"
1718
description: |
1819
Which modality from the input MuData file to process.

src/dataflow/split_modalities/config.vsh.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ arguments:
1515
description: Path to a single .h5mu file.
1616
required: true
1717
default: sample_path
18+
example: input.h5mu
1819
- name: "--output"
1920
alternatives: ["-o"]
2021
type: file

0 commit comments

Comments
 (0)