def __init__(self,debugFlag,candidateName): """ Default constructor. Parameters: debugFlag - the debugging flag. If set to True, then detailed debugging messages will be printed to the terminal during execution. candidateName - the name for the candidate, typically the file path. """ CandidateFileInterface.__init__(self,debugFlag) self.cand = candidateName self.scores=[] self.profileOps = PFDOperations(self.debug) self.setNumberOfScores(22) self.load()
def __init__(self,debugFlag,candidateName): """ Default constructor. Parameters: debugFlag - the debugging flag. If set to True, then detailed debugging messages will be printed to the terminal during execution. candidateName - the name for the candidate, typically the file path. """ CandidateFileInterface.__init__(self,debugFlag) self.cand = candidateName # The name of the candidate. self.profileIndex = 1 # A phcx file specific variable, used to identify the section of the xml data to read. self.profile=[] # The decimal profile data. self.rawdata=[] # The raw data read in from the file, in this case xml. self.scores=[] self.profileOps = PHCXOperations(self.debug) self.setNumberOfScores(22) self.load()