|
[Rivet-svn] r3140 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jun 10 10:48:13 BST 2011
Author: fsiegert Date: Fri Jun 10 10:48:12 2011 New Revision: 3140 Log: Small addition to last commit: Allow for regexp matching in the PLOT identifier. Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Fri Jun 10 10:43:58 2011 (r3139) +++ trunk/bin/make-plots Fri Jun 10 10:48:12 2011 (r3140) @@ -144,7 +144,7 @@ for line in cf: m = pat_begin_block.match(line) - if m and m.group(1) == 'PLOT' and m.group(2) == self.filename: + if m and m.group(1) == 'PLOT' and re.match(m.group(2),self.filename): self.read_input(cf) elif is_comment(line): continue
More information about the Rivet-svn mailing list |