[ALPHA] Snakemake V2
Parameter Encoding
Workflow parameter values are encoded in the following manner. Primitives such as int
s, float
s, and str
s are encoded normally, as shown below.
Collection types like list
s and dict
s are also encoded normally, e.g.
Dataclasses are encoded the same as dict
s, where field names become keys and field values become values. For example, the following dataclass definition and value
would be encoded as
LatchFile
s and LatchDir
s are encoded as specially formatted /ldata
strings. For example
See storage for more details.
Lastly, Enum parameters are encoded as their value. For instance, the following definition and values
would be encoded as
Was this page helpful?