gxformat2.examples package#
Module contents#
Galaxy workflow examples shipped with gxformat2 for testing and downstream use.
- class gxformat2.examples.CatalogEntry(*, file: str, origin: ExampleOrigin, format: ExampleFormat, tests: list[str])[source]#
Bases:
BaseModelMetadata for an example workflow in the catalog.
- format: ExampleFormat#
- model_config = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- origin: ExampleOrigin#
- class gxformat2.examples.ExampleFormat(*values)[source]#
-
Galaxy workflow serialization format.
- format2 = 'format2'#
- native = 'native'#
- class gxformat2.examples.ExampleOrigin(*values)[source]#
-
How the workflow was produced.
- converted = 'converted'#
- real = 'real'#
- real_hacked = 'real-hacked'#
- synthetic = 'synthetic'#
- gxformat2.examples.get_path(name: str) str[source]#
Return absolute path to an example workflow file by name (with extension).
- gxformat2.examples.load_catalog() list[CatalogEntry][source]#
Load and validate the example workflow catalog.