|
[Rivet-svn] r3374 - in trunk: . binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Sep 19 15:27:24 BST 2011
Author: hoeth Date: Mon Sep 19 15:27:24 2011 New Revision: 3374 Log: make-plots: Fixing regex for \physicscoor Modified: trunk/ChangeLog trunk/bin/make-plots Modified: trunk/ChangeLog ============================================================================== --- trunk/ChangeLog Mon Sep 19 13:59:43 2011 (r3373) +++ trunk/ChangeLog Mon Sep 19 15:27:24 2011 (r3374) @@ -1,3 +1,7 @@ +2011-09-19 Hendrik Hoeth <hendrik.hoeth at cern.ch> + + * make-plots: Fixing regex for \physicscoor + 2011-09-17 Andy Buckley <andy at insectnation.org> * Improving interactive metadata printout, by not printing @@ -20,7 +24,7 @@ e.g. return the SPIRES code prefixed with an "S" if no Inspire ID is available... -2011-09-18 Hendrik Hoeth <hendrik.hoeth at cern.ch> +2011-09-17 Hendrik Hoeth <hendrik.hoeth at cern.ch> * Added ALICE_2011_S8909580 (strange particle production at 900 GeV) Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Mon Sep 19 13:59:43 2011 (r3373) +++ trunk/bin/make-plots Mon Sep 19 15:27:24 2011 (r3374) @@ -962,7 +962,7 @@ out = "" out += ('\n%\n% Special\n%\n') import re - regex = re.compile(r'^(.*?)(\\physics[xy]?coor)\(([^,]+),([^,]+)\)(.*)') + regex = re.compile(r'^(.*?)(\\physics[xy]?coor)\(([0-9\.\s]+),([0-9\.\s]+)\)(.*)') for i in range(len(self.data)): while regex.search(self.data[i]): match = regex.search(self.data[i])
More information about the Rivet-svn mailing list |