Skip to content

quast_decisiontree.utils.formatting

quast_decisiontree.utils.formatting

SEPARATOR_WIDTH module-attribute

SEPARATOR_WIDTH = 50

QUERY_KEY_WIDTH module-attribute

QUERY_KEY_WIDTH = 10

separator

separator(char='_', width=SEPARATOR_WIDTH)

returns a separator line of width repetitions of char.

Source code in src/quast_decisiontree/utils/formatting.py
13
14
15
def separator(char: str = "_", width: int = SEPARATOR_WIDTH) -> str:
    """returns a separator line of ``width`` repetitions of ``char``."""
    return char * width