[Rivet-svn] r1910 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Oct 15 16:39:53 BST 2009


Author: holsch
Date: Thu Oct 15 16:39:53 2009
New Revision: 1910

Log:
Small fix so that we can define plotlabels the usual compare-histos way using aidafile:'label' on the command-line

Modified:
   trunk/bin/make-html

Modified: trunk/bin/make-html
==============================================================================
--- trunk/bin/make-html	Thu Oct 15 15:51:54 2009	(r1909)
+++ trunk/bin/make-html	Thu Oct 15 16:39:53 2009	(r1910)
@@ -52,10 +52,11 @@
 ## get set of analyses/reffiles involved in the runs
 analyses = set()
 reffiles = list()
+labels = []
 for aidafile in aidafiles:
-    aidafilepath = os.path.abspath(aidafile)
+    aidafilepath = os.path.abspath(aidafile.split(":")[0])
     if not os.access(aidafilepath, os.R_OK):
-        print "Error: cannot read from %s" % aidafile
+        print "Error: cannot read from %s" % aidafile.split(":")[0]
         exit(2)
     tree = ET.parse(aidafilepath)
     for dps in tree.findall("dataPointSet"):
@@ -67,7 +68,7 @@
 
 ## run compare-histos to get plain .dat files from .aida
 ch_cmd = ["compare-histos"]
-ch_cmd.append("--mc-errs")
+#ch_cmd.append("--mc-errs")
 ch_cmd.append("--plot-info-dir=../")
 if len(aidafiles)+len(reffiles)<2:
     ch_cmd.append("--show-ref-only")


More information about the Rivet-svn mailing list