[Rivet-svn] r3528 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Dec 13 11:23:38 GMT 2011


Author: buckley
Date: Tue Dec 13 11:23:38 2011
New Revision: 3528

Log:
Fix to the ignore-missing functionality: if any colon-separated plot directives were used on the command line, rivet-mkhtml would skip that file!

Modified:
   trunk/bin/rivet-mkhtml

Modified: trunk/bin/rivet-mkhtml
==============================================================================
--- trunk/bin/rivet-mkhtml	Mon Dec 12 21:54:35 2011	(r3527)
+++ trunk/bin/rivet-mkhtml	Tue Dec 13 11:23:38 2011	(r3528)
@@ -165,9 +165,10 @@
 # TODO: This isn't very sensible... what's the intention? Provide --plotinfodir cmd line option?
 ch_cmd.append("--plotinfodir=../")
 for af in aidafiles:
-    if not os.access(os.path.abspath(af), os.R_OK):
+    aidafilepath = os.path.abspath(aidafile.split(":")[0])
+    if not os.access(aidafilepath, os.R_OK):
         continue
-    ch_cmd.append("%s" % os.path.abspath(af))
+    ch_cmd.append("%s" % aidafilepath)
 if opts.VERBOSE:
     ch_cmd.append("--verbose")
     print "Calling compare-histos with the following options:"


More information about the Rivet-svn mailing list