Local Development
When debugging a Snakemake workflow, it’s helpful to run the JIT step locally instead of re-registering your workflow every time you want to test a change. To address this, the Latch SDK supports local development for Snakemake workflows. If you are unfamiliar with thelatch develop
command, please read about Developing and Debugging before continuing.
Run the following command to use
latch develop
with your Snakemake workflow:
snakemake_jit_entrypoint.py
with test inputs.
For example:
latch develop
session like so:
ImportError
, be sure to use the version of Python in which the Latch SDK was installed.