scriptcwl.yamlutils module¶
Functionality for saving yaml files.
-
scriptcwl.yamlutils.
is_multiline
(s)¶ Return True if a str consists of multiple lines.
- Args:
- s (str): the string to check.
- Returns:
- bool
-
scriptcwl.yamlutils.
save_yaml
(fname, wf, inline, pack, relpath, wd, encoding='utf-8')¶
-
scriptcwl.yamlutils.
str_presenter
(dmpr, data)¶ Return correct str_presenter to write multiple lines to a yaml field.