[Rivet-svn] rivet: Bugfix in rivet-mkhtml

Rivet Mercurial rivet at projects.hepforge.org
Tue Aug 23 22:00:02 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/2b8f41c2f91d
branches:  release-2-5-x
changeset: 5422:2b8f41c2f91d
user:      Holger Schulz <holger.schulz at durham.ac.uk>
date:      Tue Aug 23 21:57:06 2016 +0100
description:
Bugfix in rivet-mkhtml

diffs (24 lines):

--- a/ChangeLog	Tue Aug 23 11:27:20 2016 +0100
+++ b/ChangeLog	Tue Aug 23 21:57:06 2016 +0100
@@ -1,3 +1,9 @@
+2016-08-22  Holger Schulz  <holger.schulz at cern.ch>
+
+	* Bugfix in rivet-mkhtml (NoneType: ana.spiresID() --> spiresid)
+
+	* Added <numeric> include to Rivet/Tools/Utils.h to make gcc6 happy
+
 2016-08-22  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Add efffilt() functions and Particle/JetEffFilt functors to SmearingFunctions.hh
--- a/bin/rivet-mkhtml	Tue Aug 23 11:27:20 2016 +0100
+++ b/bin/rivet-mkhtml	Tue Aug 23 21:57:06 2016 +0100
@@ -365,7 +365,8 @@
         if inspireid:
             reflist.append('<a href="http://inspire-hep.net/record/%s">Inspire</a>' % inspireid)
             reflist.append('<a href="http://hepdata.cedar.ac.uk/view/ins%s">HepData</a>' % inspireid)
-        elif ana.spiresId():
+        elif spiresid:
+        # elif ana.spiresId():
             reflist.append('<a href="http://inspire-hep.net/search?p=find+key+%s">Inspire</a>' % spiresid)
             reflist.append('<a href="http://hepdata.cedar.ac.uk/view/irn%s">HepData</a>' % spiresid)
         reflist += references


More information about the Rivet-svn mailing list