[Rivet-svn] r2469 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jun 2 10:13:27 BST 2010


Author: holsch
Date: Wed Jun  2 10:13:32 2010
New Revision: 2469

Log:
Small fix

Modified:
   trunk/bin/rivet-rescale

Modified: trunk/bin/rivet-rescale
==============================================================================
--- trunk/bin/rivet-rescale	Tue Jun  1 23:15:02 2010	(r2468)
+++ trunk/bin/rivet-rescale	Wed Jun  2 10:13:32 2010	(r2469)
@@ -135,7 +135,7 @@
                 continue
 
             # Split the line to find out whether newarea is given in obsfile
-            low, high, area = getBindef(line)
+            path, low, high, area = getBindef(line)
             bindefs[path] = (low, high)
             if area:
                 obsnorms[path] = float(area)
@@ -176,7 +176,7 @@
         except:
             logging.debug("Failed: %s" % splitline[1])
             pass
-    return (low, high, area)
+    return (path, low, high, area)
 
 if __name__ == "__main__":
     from optparse import OptionParser, OptionGroup


More information about the Rivet-svn mailing list