Skip to content

Commit

Permalink
feat: help text for workflow inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 6, 2023
1 parent a34eb9c commit 942d3cb
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions bento_reference_service/workflows/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,24 @@
wm.WorkflowServiceUrlInput(id="reference_url", service_kind="reference"),
wm.WorkflowConfigInput(id="validate_ssl", key="validate_ssl"),
# User-specified
wm.WorkflowStringInput(id="genome_id"),
wm.WorkflowFileInput(id="genome_fasta", pattern=r"^.*\.(fa|fa.gz|fas|fas.gz|fasta|fasta.gz)$"),
wm.WorkflowStringInput(
id="genome_id", help="Standard unique ID for this genome; e.g., hg38, GRCH38, UrsMar_1.0."),
wm.WorkflowStringInput(
id="taxon_term_json",
help=(
"Phenopackets-style JSON representation for an NCBITaxon ontology term; for example:"
"<code>{\"id\":\"NCBITaxon:9606\",\"label\":\"Homo sapiens\"}</code> <br />"
"<code>{\"id\":\"NCBITaxon:3847\",\"label\":\"Glycine max\"}</code> <br />"
"<code>{\"id\":\"NCBITaxon:871304\",\"label\":\"Lymantria dispar asiatica\"}</code> <br />"
"<code>{\"id\":\"NCBITaxon:7460\",\"label\":\"Apis mellifera\"}</code> <br />"
"<code>{\"id\":\"NCBITaxon:29073\",\"label\":\"Ursus maritimus\"}</code>"
),
), # NCBITaxon:#####
wm.WorkflowFileInput(
id="genome_fasta",
pattern=r"^.*\.(fa|fa.gz|fas|fas.gz|fasta|fasta.gz)$",
help="FASTA file for the reference genome, either gzipped or uncompressed.",
),
],
),
)

0 comments on commit 942d3cb

Please sign in to comment.