Contents:
These methods are used to parse the values set in the Configuration file and convert them to the correct type.
drymass.cfg_funcs.
fbool
Boolean value from string or number
fintlist
List of integers from string or list of strings/integers
float_or_str
Float value from string or number
floattuple_or_one
Tuple of floats or ±1 from a string or a number
int_or_str
Integer or string from a string or a number
lcstr
Convert a string to lower-case
tupletupleint
A tuple containing x- and y- slice tuples from a string or tuple