def generate_annotation(result, settings):
if result.status:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>header = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>").format(**settings)<EOL>points = [p for _, _points in result.info for p in _points]<EOL>annotations = ("<STR_LIT>".format(<EOL>p[COLS.X], p[COLS.Y], p[COLS.Z]) for p in points)<EOL>footer = "<STR_LIT>"<EOL>return '<STR_LIT:\n>'.join(chain.from_iterable(([header], annotations, [footer])))<EOL>
Generate the annotation for a given checker

    Arguments
        neuron(Neuron): The neuron object
        checker: A tuple where the first item is the checking function (usually from neuron_checks)
                 and the second item is a dictionary of settings for the annotation. It must
                 contain the keys name, label and color
    Returns
        An S-expression-like string representing the annotation