|
[Rivet-svn] r2227 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jan 29 21:01:37 GMT 2010
Author: fsiegert Date: Fri Jan 29 21:01:37 2010 New Revision: 2227 Log: make rivet-mkhtml work for aida-files with run names. now only compare-histos has to be fixed as well. Modified: trunk/bin/rivet-mkhtml Modified: trunk/bin/rivet-mkhtml ============================================================================== --- trunk/bin/rivet-mkhtml Wed Jan 27 22:20:26 2010 (r2226) +++ trunk/bin/rivet-mkhtml Fri Jan 29 21:01:37 2010 (r2227) @@ -60,7 +60,8 @@ exit(2) tree = ET.parse(aidafilepath) for dps in tree.findall("dataPointSet"): - analysis = dps.get("path")[1:] + path = dps.get("path") + analysis = path[path.rfind("/")+1:] analyses.add(analysis) if os.access(os.path.join(datadir, analysis+".aida"), os.R_OK): reffiles.append("%s/%s.aida" % (datadir, analysis))
More information about the Rivet-svn mailing list |