PPKE-Bioinf / consensx.itk.ppke.hu

CoNSEnsX - Complience of NMR-derived Structural Ensembles with Experimental Data

Home Page:http://consensx.itk.ppke.hu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace type checks in parser fot try/except method

puinenveturi opened this issue · comments

Example:

            try:
                s2_dict[record.type].append(record)
            except KeyError:
                s2_dict[record.type] = []
                s2_dict[record.type].append(record)