def __init__(self, mode):
        super(QuadrantModeStmt, self).__init__('QuadrantMode')
        mode = mode.lower()
        if mode not in ['single-quadrant', 'multi-quadrant']:
            raise ValueError('Quadrant mode must be "single-quadrant" \
                             or "multi-quadrant"')
        self.mode = mode
dataset/ETHPy150Open curtacircuitos/pcb-tools/gerber/gerber_statements.py/QuadrantModeStmt.__init__/original