diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-06 17:49:20 -0600 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-06 17:49:20 -0600 |
| commit | 4f358ee507c06c1ccbce472817f4eeac8da5cfa0 (patch) | |
| tree | 0009ba46d75b9c573aea8f106ccfef4ee49ff50a /plot_sens.py | |
| parent | eb98a187b1bc4ee8e8c962d0e5d1a3d0ae77bc35 (diff) | |
| parent | c56c15762ae69e92b805367d0a84091cecaad059 (diff) | |
| download | GolemFlavor-4f358ee507c06c1ccbce472817f4eeac8da5cfa0.tar.gz GolemFlavor-4f358ee507c06c1ccbce472817f4eeac8da5cfa0.zip | |
Merge branch 'master' of github.com:ShiveshM/flavour_ratio
Diffstat (limited to 'plot_sens.py')
| -rwxr-xr-x | plot_sens.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plot_sens.py b/plot_sens.py index a297e17..2ecde12 100755 --- a/plot_sens.py +++ b/plot_sens.py @@ -72,9 +72,9 @@ def nuisance_argparse(parser): def process_args(args): """Process the input args.""" - if args.fix_mixing not MixingScenario.NONE and args.fix_scale: + if args.fix_mixing is not MixingScenario.NONE and args.fix_scale: raise NotImplementedError('Fixed mixing and scale not implemented') - if args.fix_mixing not MixingScenario.NONE and args.fix_mixing_almost: + if args.fix_mixing is not MixingScenario.NONE and args.fix_mixing_almost: raise NotImplementedError( '--fix-mixing and --fix-mixing-almost cannot be used together' ) @@ -231,8 +231,8 @@ def main(): infile += '/gaussian/' if args.likelihood is Likelihood.GAUSSIAN: infile += '{0}/'.format(str(args.sigma_ratio).replace('.', '_')) - # infile += '/DIM{0}/fix_ifr/{1}/{2}/{3}/fr_stat'.format( - infile += '/DIM{0}/fix_ifr/seed2/{1}/{2}/{3}/fr_stat'.format( + infile += '/DIM{0}/fix_ifr/{1}/{2}/{3}/fr_stat'.format( + # infile += '/DIM{0}/fix_ifr/seed2/{1}/{2}/{3}/fr_stat'.format( # infile += '/DIM{0}/fix_ifr/100TeV/{1}/{2}/{3}/fr_stat'.format( dim, *map(misc_utils.parse_enum, [args.stat_method, args.run_method, args.data]) ) + misc_utils.gen_identifier(argsc) @@ -279,8 +279,8 @@ def main(): base_infile += '/gaussian/' if args.likelihood is Likelihood.GAUSSIAN: base_infile += '{0}/'.format(str(args.sigma_ratio).replace('.', '_')) - # base_infile += '/DIM{0}/fix_ifr'.format(dim) - base_infile += '/DIM{0}/fix_ifr/seed2'.format(dim) + base_infile += '/DIM{0}/fix_ifr'.format(dim) + # base_infile += '/DIM{0}/fix_ifr/seed2'.format(dim) # base_infile += '/DIM{0}/fix_ifr/100TeV'.format(dim) for isrc, src in enumerate(args.source_ratios): |
