v0.1.0
Dropping two new subcommands:
latch get-wf
Usage: latch get-wf [OPTIONS]
List workflows.
Visit docs.latch.bio to learn more.
Options:
--name TEXT The name of the workflow to list. Will display all versions
--help Show this message and exit.
Usage
Fetch all workflows with the latest version.
$ latch get-wf
59729 wf.batch_ge 0.0.31
59696 wf-core-batch_ge.wf.batch_ge 0.0.3
59748 wf.guide_counter_wf 0.0.7
Fetch all workflow versions by name.
ID Name Version
59698 wf.batch_ge 0.0.13
59703 wf.batch_ge 0.0.18
59704 wf.batch_ge 0.0.19
59715 wf.batch_ge 0.0.22
59716 wf.batch_ge 0.0.23
59723 wf.batch_ge 0.0.25
59724 wf.batch_ge 0.0.26
latch execute
Usage: latch execute [OPTIONS] PARAMS_FILE
Execute a workflow using a python parameter map.
Visit docs.latch.bio to learn more.
Options:
--version TEXT The version of the workflow to execute. Defaults to latest.
--help Show this message and exit.
Usage
$ latch execute foo.py
where foo.py is a python representation of a type map.
# foo.py
from latch.types import LatchFile
params = {
"_name": "wf.assemble_and_sort",
"read1": LatchFile("latch:///read1"),
"read2": LatchFile("latch:///read2"),
}