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/mc_unitary.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/mc_unitary.py') diff --git a/scripts/mc_unitary.py b/scripts/mc_unitary.py index bbd5a28..0f0e8f4 100644 --- a/scripts/mc_unitary.py +++ b/scripts/mc_unitary.py @@ -155,10 +155,10 @@ def main(): prefix = '' outfile = args.datadir + '/mc_unitary' + prefix + gen_identifier(args) - print '== {0:<25} = {1}'.format('outfile', outfile) + print('== {0:<25} = {1}'.format('outfile', outfile)) - print 'asimov_paramset', asimov_paramset - print 'hypo_paramset', hypo_paramset + print('asimov_paramset', asimov_paramset) + print('hypo_paramset', hypo_paramset) if args.run_mcmc: ln_prob_eval = partial( @@ -193,7 +193,7 @@ def main(): ) mcmc_utils.save_chains(frs, outfile) - print "DONE!" + print("DONE!") main.__doc__ = __doc__ -- cgit v1.2.3