def parse_pdb_ligand_info(self, pdb_ligand_info):
        '''This only parses the ligand type as all the other information should be in the .cif file. The XML file has
           proper capitalization whereas the .cif file uses all caps for the ligand type.'''
        mtchs = re.findall('(<ligand.*?</ligand>)', pdb_ligand_info, re.DOTALL)
        for m in mtchs:
            if m.upper().find('CHEMICALID="{0}"'.format(self.PDBCode.upper())) != -1:
                ligand_type = re.match('<ligand.*?\stype="(.*?)".*?>', m, re.DOTALL)
                if ligand_type:
                    self.LigandType = ligand_type.group(1)
This only parses the ligand type as all the other information should be in the .cif file. The XML file has
           proper capitalization whereas the .cif file uses all caps for the ligand type.