[Rivet-svn] rivet: Tweak .plot template: no # needed on BEGIN and END lines now

Rivet Mercurial rivet at projects.hepforge.org
Fri Jul 13 09:30:01 BST 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/894dd20976e4
branches:  release-2-6-x
changeset: 6376:894dd20976e4
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Jul 13 09:25:06 2018 +0100
description:
Tweak .plot template: no # needed on BEGIN and END lines now

diffs (20 lines):

--- a/bin/rivet-mkanalysis	Tue Jul 10 16:02:11 2018 +0100
+++ b/bin/rivet-mkanalysis	Fri Jul 13 09:25:06 2018 +0100
@@ -269,12 +269,12 @@
     logging.debug("Writing plot template to %s" % ANAPLOTFILE)
     f = open(ANAPLOTFILE, "w")
     src = '''\
-# BEGIN PLOT /%(ANANAME)s/d01-x01-y01
-#Title=[Uncomment and insert title for histogram d01-x01-y01 here]
-#XLabel=[Uncomment and insert x-axis label for histogram d01-x01-y01 here]
-#YLabel=[Uncomment and insert y-axis label for histogram d01-x01-y01 here]
+BEGIN PLOT /%(ANANAME)s/d01-x01-y01
+Title=[Insert title for histogram d01-x01-y01 here]
+XLabel=[Insert $x$-axis label for histogram d01-x01-y01 here]
+YLabel=[Insert $y$-axis label for histogram d01-x01-y01 here]
 # + any additional plot settings you might like, see make-plots documentation
-# END PLOT
+END PLOT
 
 # ... add more histograms as you need them ...
 ''' % KEYWORDS


More information about the Rivet-svn mailing list