From 018cf806e2d852df164b0c795d4e3ffcd122dda0 Mon Sep 17 00:00:00 2001 From: Shivesh Mandalia Date: Fri, 28 Feb 2020 22:38:40 +0000 Subject: add brackets to all print statements --- scripts/fr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/fr.py') diff --git a/scripts/fr.py b/scripts/fr.py index e32d7d0..25cc1f8 100644 --- a/scripts/fr.py +++ b/scripts/fr.py @@ -171,13 +171,13 @@ def main(): outfile = args.datadir + '/{0}/{1}/chains_'.format( *map(misc_utils.parse_enum, [args.stat_method, args.data]) ) + misc_utils.gen_identifier(args) - print '== {0:<25} = {1}'.format('outfile', outfile) + print('== {0:<25} = {1}'.format('outfile', outfile)) if args.run_mcmc: gf_utils.setup_fitter(args, asimov_paramset) - print 'asimov_paramset', asimov_paramset - print 'llh_paramset', llh_paramset + print('asimov_paramset', asimov_paramset) + print('llh_paramset', llh_paramset) ln_prob = partial( llh_utils.ln_prob, @@ -240,7 +240,7 @@ def main(): labels = labels, ranges = ranges ) - print "DONE!" + print("DONE!") main.__doc__ = __doc__ -- cgit v1.2.3