PEATDB/Ekin/Titration.py
def checkStructMapProp(cls, structmap, prop):
        """Check if a particular property is in the struct map"""
        found=0
        for i in structmap.keys():
            for props in structmap[i]['Data property']:
                if prop in props:
                    found=1
                    break
        return found
Check if a particular property is in the struct map
Check if a particular property is in the struct map
Check if a particular property is in the struct map
def checkStructMapProp(cls, structmap, prop):
        found=0
        for i in structmap.keys():
            for props in structmap[i]['Data property']:
                if prop in props:
                    found=1
                    break
        return found
def checkStructMapProp ( cls , structmap , prop ) : found = 0 for i in structmap . keys ( ) : for props in structmap [ i ] [ 'Data property' ] : if prop in props : found = 1 break return found
Check if a particular property is in the struct map
Check if a particular property is in the struct map
"""Check if a particular property is in the struct map"""
cls
structmap
prop