hbp_nrp_cleserver.bibi_config.bibi_configuration_script module¶
Script to run CLE from BIBI Configuration File
-
correct_indentation
(text, first_line_indent_level, indent_string=' ')[source]¶ Adapts the indentation of the given code in order to paste it into the generated script. The indentation of the given text is determined based on the first content line (first line which consists not only of white spaces). The indentation must either use four spaces or a tab character.
- Parameters
text – the original input to adapt
first_line_indent_level (int) – the target indentation level of the entire block
indent_string – (Optional): the pattern for one level of indentation
- Returns
the adapted text
-
deprecated
(func)[source]¶ This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emmitted when the function is used.