From 0c961ab5ceacce96d09032c3594e421a6dacbf85 Mon Sep 17 00:00:00 2001 From: shivesh Date: Wed, 10 Apr 2019 17:24:55 -0500 Subject: fix bugs --- utils/llh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/llh.py') diff --git a/utils/llh.py b/utils/llh.py index 93587b9..d80e374 100644 --- a/utils/llh.py +++ b/utils/llh.py @@ -17,7 +17,7 @@ from scipy.stats import multivariate_normal, truncnorm from utils import fr as fr_utils from utils import gf as gf_utils -from utils.enums import Likelihood, ParamTag, PriorsCateg +from utils.enums import Likelihood, ParamTag, PriorsCateg, StatCateg from utils.misc import enum_parse, gen_identifier, parse_bool @@ -37,7 +37,7 @@ def multi_gaussian(fr, fr_bf, sigma, offset=-320): def llh_argparse(parser): parser.add_argument( '--stat-method', default='bayesian', - type=partial(misc_utils.enum_parse, c=StatCateg), choices=StatCateg, + type=partial(enum_parse, c=StatCateg), choices=StatCateg, help='Statistical method to employ' ) -- cgit v1.2.3