[yoda-svn] r508 - trunk/pyext/yoda/include

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Jul 19 09:51:13 BST 2012


Author: buckley
Date: Thu Jul 19 09:51:13 2012
New Revision: 508

Log:
Docstring tweaks

Modified:
   trunk/pyext/yoda/include/40-Histo1D.pyx
   trunk/pyext/yoda/include/40-Histo2D.pyx
   trunk/pyext/yoda/include/40-Profile1D.pyx

Modified: trunk/pyext/yoda/include/40-Histo1D.pyx
==============================================================================
--- trunk/pyext/yoda/include/40-Histo1D.pyx	Thu Jul 19 09:48:18 2012	(r507)
+++ trunk/pyext/yoda/include/40-Histo1D.pyx	Thu Jul 19 09:51:13 2012	(r508)
@@ -70,6 +70,7 @@
     positional parameters or via explicit keyword arguments, e.g. path='/foo/bar'.
 
     TODO: Add constructors from Scatter and Profile
+    TODO: Support addBins
     """
 
     def __init__(self, *args, **kwargs):
@@ -275,7 +276,7 @@
 
 
     def addBins(self, binedges):
-        # TODO: How to map the Python list to the C++ vector<double>?
+        # TODO
         #void addBins(vector[double] &binedges)
         pass
 

Modified: trunk/pyext/yoda/include/40-Histo2D.pyx
==============================================================================
--- trunk/pyext/yoda/include/40-Histo2D.pyx	Thu Jul 19 09:48:18 2012	(r507)
+++ trunk/pyext/yoda/include/40-Histo2D.pyx	Thu Jul 19 09:51:13 2012	(r508)
@@ -82,6 +82,7 @@
     positional parameters or via explicit keyword arguments, e.g. path='/foo/bar'.
 
     TODO: Add constructors from Scatter and Profile
+    TODO: Support adding and erasing bins
     """
 
     # cdef tuple _bins

Modified: trunk/pyext/yoda/include/40-Profile1D.pyx
==============================================================================
--- trunk/pyext/yoda/include/40-Profile1D.pyx	Thu Jul 19 09:48:18 2012	(r507)
+++ trunk/pyext/yoda/include/40-Profile1D.pyx	Thu Jul 19 09:51:13 2012	(r508)
@@ -67,6 +67,7 @@
     positional parameters or via explicit keyword arguments, e.g. path='/foo/bar'.
 
     TODO: Add constructors from Scatter and Histo
+    TODO: Support addBin, addBins, eraseBin
     """
 
     def __init__(self, *args, **kwargs):


More information about the yoda-svn mailing list