|
[Rivet-svn] r2529 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jun 25 11:33:30 BST 2010
Author: fsiegert Date: Fri Jun 25 11:33:35 2010 New Revision: 2529 Log: Add verbose option to rivet-mkhtml. Modified: trunk/bin/rivet-mkhtml Modified: trunk/bin/rivet-mkhtml ============================================================================== --- trunk/bin/rivet-mkhtml Thu Jun 24 19:46:27 2010 (r2528) +++ trunk/bin/rivet-mkhtml Fri Jun 25 11:33:35 2010 (r2529) @@ -27,6 +27,8 @@ default=False, help="ignore unvalidated analyses.") parser.add_option("-m", "--match", action="append", dest="PATHPATTERNS", help="only write out histograms from analyses whose name matches any of these regexes") +parser.add_option("-v", "--verbose", help="Add extra debug messages", dest="VERBOSE", + action="store_true", default=False) opts, aidafiles = parser.parse_args() @@ -113,6 +115,9 @@ ch_cmd.append("--no-ratio") for file in reffiles + aidafiles: ch_cmd.append("%s" % os.path.abspath(file)) +if opts.VERBOSE: + print "Calling compare-histos with the following options:" + print ch_cmd Popen(ch_cmd, cwd=opts.OUTPUTDIR, stderr=PIPE).wait() @@ -233,4 +238,7 @@ datfiles = glob.glob("%s/*.dat" % anapath) for datfile in sorted(datfiles): mp_cmd.append(datfile) +if opts.VERBOSE: + print "Calling make-plots with the following options:" + print mp_cmd Popen(mp_cmd).wait()
More information about the Rivet-svn mailing list |