def getWeight(self):
        """ Method to pass back weight directory """

        target = 'Weights'

        if self.team == gv.teamA:
            if re.search('body', self.fileName):
                target = 'Body' + target
            if re.search('head', self.fileName):
                target = 'Head' + target

        elif self.team == gv.teamD:
            if re.search('Body', self.fileName):
                target = 'Body' + target
            if re.search('Head', self.fileName):
                target = 'Head' + target

        self.folderKey = self.characterList.get('%sFolderKey' % target)
        self.nameKey = self.characterList.get(target % '%sNameKey')

        self.result = self._trailConstruct()[0]
        if os.path.exists(self.result):
            return self.result
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/common/fileIO/parser_schema.py/RigParse.getWeight/swapped operands of `%`