def SetWarpMode(self, mode):
        '''Set the warp mode'''
        try:
            self.component.PropertyList.Find('WarpMode').Data = self.kWarpMode[mode]
        except KeyError:
            raise Exception("Invalid warp mode '%s'" % mode)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/moBu/site-packages/PyMoBu-0.2/pymobu/components/constraints.py/PMBPathConstraint.SetWarpMode/original