Permalink
Browse files

use absolute imports

  • Loading branch information...
1 parent d3a8e33 commit 34afbd0c03f0352d6f3e0e6d6fd875ee7f0c6312 Samvel Khalatyan committed May 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/template/compare.py
@@ -15,9 +15,9 @@
difference between S and N with respect to N: (S - N) / N
'''
-from root.comparison import compare
+import root.comparison
-@compare
+@root.comparison.compare
def ratio(data, background, title = None):
h = data.Clone()
h.SetDirectory(0)
@@ -29,7 +29,7 @@ def ratio(data, background, title = None):
return h
-@compare
+@root.comparison.compare
def data_mins_bg_over_bg(data, background, title = None):
h = data.Clone()
h.SetDirectory(0)

0 comments on commit 34afbd0

Please sign in to comment.