[Rivet-svn] r2854 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Dec 16 23:22:41 GMT 2010


Author: buckley
Date: Thu Dec 16 23:22:40 2010
New Revision: 2854

Log:
Tweaks

Modified:
   trunk/bin/compare-histos
   trunk/bin/rivet-mkhtml

Modified: trunk/bin/compare-histos
==============================================================================
--- trunk/bin/compare-histos	Thu Dec 16 21:33:04 2010	(r2853)
+++ trunk/bin/compare-histos	Thu Dec 16 23:22:40 2010	(r2854)
@@ -420,6 +420,7 @@
             histopts = {}
         histstrs = []
         i = 0
+        logging.debug("Active files: %s" % activefiles)
         for hfile in activefiles:
             histstr = '# BEGIN HISTOGRAM %s%s\n' % (hfile, HISTOS[hfile][name].fullPath())
             if HISTOS[hfile][name].isdata:

Modified: trunk/bin/rivet-mkhtml
==============================================================================
--- trunk/bin/rivet-mkhtml	Thu Dec 16 21:33:04 2010	(r2853)
+++ trunk/bin/rivet-mkhtml	Thu Dec 16 23:22:40 2010	(r2854)
@@ -129,12 +129,10 @@
 ch_cmd.append("--hier-out")
 ch_cmd.append("--rivet-refs")
 ch_cmd.append("--plotinfodir=../")
-# if len(aidafiles) + len(reffiles) < 2:
-#     ch_cmd.append("--show-ref-only")
-#     ch_cmd.append("--no-ratio")
-for file in aidafiles:
-    ch_cmd.append("%s" % os.path.abspath(file))
+for af in aidafiles:
+    ch_cmd.append("%s" % os.path.abspath(af))
 if opts.VERBOSE:
+    ch_cmd.append("--verbose")
     print "Calling compare-histos with the following options:"
     print ch_cmd
 Popen(ch_cmd, cwd=opts.OUTPUTDIR, stderr=PIPE).wait()
@@ -221,6 +219,7 @@
 
     if not opts.SINGLE:
         anaindex.write("</body>\n</html>\n")
+# TODO: Why doesn't the index file work until late in the image processing?
 index.write('</body>\n</html>')
 
 


More information about the Rivet-svn mailing list