def select_points_y(glyph, linePos, side='top'):
    for c in glyph.contours:
        for p in c.points:
            # select points above the line
            if side == 'top':
                if p.y >= linePos:
                    p.selected = True
            # select points below the line
            else:
                if p.y <= linePos:
                    p.selected = True
    glyph.update()
Wraps routing functions that require a user to be a teacher
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/glyphutils.py/select_points_y--crossover with--dataset/ETHPy150Open IceCTF/ctf-platform/api/api/annotations.py/require_teacher