def METHOD_NAME(self, mod):
    mod_type = mod.get('modification_type')
    residue = mod.get('aa_code')
    position = mod.get('location')
    mc = ModCondition(mod_type, residue, position, True)
    return mc