-
change_dtype_to_str
(doc)[source] Not all Savu dtypes are valid yaml syntax, this function will convert them all to strings
param doc: the plugin tools docstring :return: Altered yaml docstring with dtype values changed to be strings
-
find_synopsis
(dclass)[source] Finds the parameters list from the docstring
-
load_yaml_doc
(doc)[source] Load in the yaml format. Call yaml_utils.py
- Parameters
lines (str) – String of information
- Returns
all_params – Ordered dict of parameters
- Return type
OrderedDict
-
remove_new_lines
(in_string)[source] Remove new lines between text