aboutsummaryrefslogtreecommitdiffstats
path: root/plot_sens.py
diff options
context:
space:
mode:
authorshivesh <s.p.mandalia@qmul.ac.uk>2018-09-06 16:23:59 -0500
committershivesh <s.p.mandalia@qmul.ac.uk>2018-09-06 16:23:59 -0500
commit73cffc2bd330761d796cb30726cf83d3f336d5a9 (patch)
treeb7241f422014f6930c4fa9d8c1cb84d2fb2ff018 /plot_sens.py
parent639686cde9e43b4ad18f9b56960da3f5e8c697dd (diff)
downloadGolemFlavor-73cffc2bd330761d796cb30726cf83d3f336d5a9.tar.gz
GolemFlavor-73cffc2bd330761d796cb30726cf83d3f336d5a9.zip
Thu 6 Sep 16:23:59 CDT 2018
Diffstat (limited to 'plot_sens.py')
-rwxr-xr-xplot_sens.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plot_sens.py b/plot_sens.py
index 893e7a0..b685175 100755
--- a/plot_sens.py
+++ b/plot_sens.py
@@ -23,7 +23,7 @@ from utils import gf as gf_utils
from utils import likelihood as llh_utils
from utils import misc as misc_utils
from utils import plot as plot_utils
-from utils.enums import EnergyDependance, Likelihood, ParamTag
+from utils.enums import EnergyDependance, Likelihood, MixingScenario, ParamTag
from utils.enums import PriorsCateg, SensitivityCateg, StatCateg
from utils.param import Param, ParamSet, get_paramsets
@@ -72,9 +72,9 @@ def nuisance_argparse(parser):
def process_args(args):
"""Process the input args."""
- if args.fix_mixing and args.fix_scale:
+ if args.fix_mixing not MixingScenario.NONE and args.fix_scale:
raise NotImplementedError('Fixed mixing and scale not implemented')
- if args.fix_mixing and args.fix_mixing_almost:
+ if args.fix_mixing not MixingScenario.NONE and args.fix_mixing_almost:
raise NotImplementedError(
'--fix-mixing and --fix-mixing-almost cannot be used together'
)