[Rivet-svn] rivet: Provide needed Python mapping of new data path setting fu...

Rivet Mercurial rivet at projects.hepforge.org
Tue Jul 26 22:30:02 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/c01b9e9fab84
branches:  release-2-5-x
changeset: 5355:c01b9e9fab84
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Jul 26 22:18:20 2016 +0100
description:
Provide needed Python mapping of new data path setting functions

diffs (33 lines):

--- a/pyext/rivet/core.pyx	Tue Jul 26 22:14:33 2016 +0100
+++ b/pyext/rivet/core.pyx	Tue Jul 26 22:18:20 2016 +0100
@@ -169,12 +169,11 @@
     c.addAnalysisLibPath(path)
 
 
-def getAnalysisRefPaths():
-    return c.getAnalysisRefPaths()
+def setAnalysisDataPaths(xs):
+    c.setAnalysisDataPaths(xs)
 
-def findAnalysisRefFile(q):
-    return c.findAnalysisRefFile(q)
-
+def addAnalysisDataPath(path):
+    c.addAnalysisDataPath(path)
 
 def getAnalysisDataPaths():
     return c.getAnalysisDataPaths()
@@ -183,6 +182,13 @@
     return c.findAnalysisDataFile(q)
 
 
+def getAnalysisRefPaths():
+    return c.getAnalysisRefPaths()
+
+def findAnalysisRefFile(q):
+    return c.findAnalysisRefFile(q)
+
+
 def getAnalysisInfoPaths():
     return c.getAnalysisInfoPaths()
 


More information about the Rivet-svn mailing list