Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if alpha in ALPHA_ONE_SIDE_TABLE.keys():
CV = ALPHA_ONE_SIDE_TABLE[alpha]
else:
CV = ALPHA_ONE_SIDE_TABLE[0.05]
warn(CI_ALPHA_ONE_SIDE_WARNING, RuntimeWarning)
else:
if alpha in ALPHA_TWO_SIDE_TABLE.keys():
CV = ALPHA_TWO_SIDE_TABLE[alpha]
else:
CV = ALPHA_TWO_SIDE_TABLE[0.05]
warn(CI_ALPHA_TWO_SIDE_WARNING, RuntimeWarning)
param_u = param.upper()
if param_u in CI_CLASS_LIST:
return __CI_class_handler__(self, param_u, CV, method)
if param in CI_OVERALL_LIST:
return __CI_overall_handler__(self, param, CV, method)
raise pycmCIError(CI_SUPPORT_ERROR)
raise pycmCIError(CI_FORMAT_ERROR)