|
[Rivet-svn] rivet: 2 new changesetsRivet Mercurial rivet at projects.hepforge.orgTue Oct 6 15:15:02 BST 2015
details: https://rivet.hepforge.org/hg/rivet/rev/7620664c41f7 branches: changeset: 4891:7620664c41f7 user: Andy Buckley <andy at insectnation.org> date: Tue Oct 06 14:56:28 2015 +0100 description: Help message cosmetics/consistency details: https://rivet.hepforge.org/hg/rivet/rev/1824cc9dcf34 branches: changeset: 4892:1824cc9dcf34 user: Andy Buckley <andy at insectnation.org> date: Tue Oct 06 15:00:42 2015 +0100 description: Don't attempt to plot the _XSEC and _EVTCOUNT diffs (41 lines): --- a/bin/rivet-mkhtml Tue Oct 06 09:28:25 2015 +0100 +++ b/bin/rivet-mkhtml Tue Oct 06 15:00:42 2015 +0100 @@ -57,13 +57,13 @@ stygroup.add_option("--booklet", dest="BOOKLET", action="store_true", default=False, help="create booklet (currently only available for PDF with pdftk).") stygroup.add_option("--palatino", dest="OUTPUT_FONT", action="store_const", const="PALATINO", default="PALATINO", - help="Use Palatino as font (default).") + help="use Palatino as font (default).") stygroup.add_option("--cm", dest="OUTPUT_FONT", action="store_const", const="CM", default="PALATINO", - help="Use Computer Modern as font.") + help="use Computer Modern as font.") stygroup.add_option("--times", dest="OUTPUT_FONT", action="store_const", const="TIMES", default="PALATINO", - help="Use Times as font.") + help="use Times as font.") stygroup.add_option("--minion", dest="OUTPUT_FONT", action="store_const", const="MINION", default="PALATINO", - help="Use Adobe Minion Pro as font. Note: You need to set TEXMFHOME first.") + help="use Adobe Minion Pro as font. Note: You need to set TEXMFHOME first.") parser.add_option_group(stygroup) selgroup = OptionGroup(parser, "Selective plotting") @@ -78,9 +78,9 @@ parser.add_option_group(selgroup) vrbgroup = OptionGroup(parser, "Verbosity control") -vrbgroup.add_option("-v", "--verbose", help="Add extra debug messages", dest="VERBOSE", +vrbgroup.add_option("-v", "--verbose", help="add extra debug messages", dest="VERBOSE", action="store_true", default=False) -vrbgroup.add_option("--dry-run", help="Don't actually do any plotting or HTML building", dest="DRY_RUN", +vrbgroup.add_option("--dry-run", help="don't actually do any plotting or HTML building", dest="DRY_RUN", action="store_true", default=False) parser.add_option_group(vrbgroup) @@ -122,6 +122,8 @@ for path, ao in analysisobjects.iteritems(): ## If regexes have been provided, only add analyses which match and don't unmatch pathparts = path.strip('/').split('/') + if pathparts[0].startswith("_"): + continue if pathparts[0] == "REF": del pathparts[0] # TODO: What if there are more than two parts (other than REF)?
More information about the Rivet-svn mailing list |