[Rivet-svn] r2711 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Oct 14 13:22:30 BST 2010


Author: hoeth
Date: Thu Oct 14 13:22:30 2010
New Revision: 2711

Log:
We want to write out AidaPath and FullPath even if the histogram doesn't have a YLabel

Modified:
   trunk/bin/rivet-rmgaps

Modified: trunk/bin/rivet-rmgaps
==============================================================================
--- trunk/bin/rivet-rmgaps	Thu Oct 14 12:58:25 2010	(r2710)
+++ trunk/bin/rivet-rmgaps	Thu Oct 14 13:22:30 2010	(r2711)
@@ -88,8 +88,8 @@
             f.write('      <item key="XLabel" value="%s" sticky="true"/>\n' % xlabel.replace('>', '&gt;').replace('<', '&lt;').replace('"', '&quot;'))
         if ylabel is not None:
             f.write('      <item key="YLabel" value="%s" sticky="true"/>\n' % ylabel.replace('>', '&gt;').replace('<', '&lt;').replace('"', '&quot;'))
-            f.write('      <item key="AidaPath" value="%s" sticky="true"/>\n' % path)
-            f.write('      <item key="FullPath" value="/%s.aida%s" sticky="true"/>\n' % (filename.split('/')[-1], path))
+        f.write('      <item key="AidaPath" value="%s" sticky="true"/>\n' % path)
+        f.write('      <item key="FullPath" value="/%s.aida%s" sticky="true"/>\n' % (filename.split('/')[-1], path))
         f.write('    </annotation>\n')
         f.write('    <dimension dim="0" title="%s" />\n' % xlabel)
         f.write('    <dimension dim="1" title="%s" />\n' % ylabel)


More information about the Rivet-svn mailing list