[Rivet-svn] rivet: Cosmetic change to beam energies in --show-analysis

Rivet Mercurial rivet at projects.hepforge.org
Thu Jul 14 11:45:02 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/1adc8e6bdbbe
branches:  release-2-5-x
changeset: 5310:1adc8e6bdbbe
user:      Holger Schulz <holger.schulz at durham.ac.uk>
date:      Thu Jul 14 11:41:28 2016 +0100
description:
Cosmetic change to beam energies in --show-analysis

diffs (11 lines):

--- a/bin/rivet	Thu Jul 07 16:31:55 2016 +0100
+++ b/bin/rivet	Thu Jul 14 11:41:28 2016 +0100
@@ -330,7 +330,7 @@
             msg += "Beams:" + ", ".join(beamstrs) + "\n"
 
         if ana.requiredEnergies():
-            msg += "Beam energies: %s GeV\n" + "; ".join(["(%0.1f, %0.1f)" % (epair[0], epair[1]) for epair in ana.requiredEnergies()])
+            msg += "Beam energies:" + "; ".join(["(%0.1f, %0.1f) GeV\n" % (epair[0], epair[1]) for epair in ana.requiredEnergies()])
         else:
             msg += "Beam energies: ANY\n"
 


More information about the Rivet-svn mailing list