def _createJoints(self, jointsName, positions):
        self._validate_positions(positions)
        for pos in positions:
            tempJnt = Joint(jointsName, pos)
            self._jointChain.append(tempJnt.jointName)
            self._jointsPos.append(tempJnt.jointPos)
        for i in range(1, len(self.jointChain), 1):
            pm.parent(self._jointChain[i], self._jointChain[i - 1])
dataset/ETHPy150Open eoyilmaz/anima/anima/rig/joint.py/JointChain._createJoints/original