-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDataFrame simplifications - numpy/python syntax #297
Comments
Test code updated. First test passing:
|
Failing tests:
|
Range checks 1D:
|
…al for discusion with RDataFrame responsible)
…Define creates new columns, not just generating function
New test 1D and 2D + class methodsRootInteractive/RootInteractive/Tools/RDataFrame/test_RDataFrame_Array.py Lines 87 to 117 in fd829c5
Test output:
|
Todo:
|
Failing test - diagnostic
|
Test 7 failed in case we did not make a dictionary for the 2D array of boolean:
|
…ted class * bug fix in the retrieving of class method * make a dictionary for templated class
Problem for templated classesAfter fix withaccess to class method in commit above, still some problems observed
==>
|
Problem to find if method exist
|
Template arguments to be replaced
after patch:
|
* adding failing test * still failing in other place in AST most probably
* adding failing test * test fails as in case of more than one function, tuple used, proper function with proper argument list to be choosen
The getClassmetheod was not finished, arguments were ignored for a momentThe code crash if more than one function is returning.
|
* fixing doc string parsing * argument parsing not yet
Remaining problems in ROOT dicitionary
|
* more verbose output * argument parsing not yet
* for a moment only for public properties * Example In [11]: getClassProperty("TParticle","fPdgCode") Out[11]: ('int', 40)
* adding property test which is FAILING * new function getClassProperty to be used to solve
…Data') * adding new test which currently fails
…of the ROOT.gROOT.FindSTLClass * avoiding seg.fault in the TClass destructor
Automatic template function generation consideration - Error handling to defineIn case the function is generated, in the second time the generation fails, because the function is already in the scope. What should be error handling? |
…the RDataFrame documentation * remaining problem with ROOT::EnableImplicitMT in C++->Python C++
…the RDataFrame documentation * remaining problem with ROOT::EnableImplicitMT * adding test with nCores * test is for a moment failing
* problem with ROOT::EnableImplicitMT solved * test with nCores working
…ous commit * test with nCores not working stabily * test with 1, 2 cores working * 4 cores sometimes failing
Problem with ROOT.EnableImplicitMT(nCores) in ROOT + automatic C++ code generationThe problem looks to be random
To simplify the debugging and to make the code faster, it is preferable as an option to save the code in C++ and make a shared library from there. |
Using precomiled C++ macro the problem wit the EnableImplicitMT(nCores) dissapeared
|
Problem in the function generation to be checked
|
To parse the function- python func-doc can be usedSimilarly already done for classes in example above:
|
C++ Namespace function support e.g TMath::<>
|
AST Support for the slice with dimensionality reduction
|
* not yet working * adding test which are failing for a moment
* getGlobalFunction returns C++ name of unction which is differnt from python in case of the :: * not yet working * adding test which are failing for a moment
https://gitter.im/matrix/5ba1f93bd73408ce4fa8a265/@agoose77:matrix.org?at=639f83faa151003b5a7550f4
Possible simplification the creation of RDataFrame function definitions
As for simplifying the generation of RDataFrame templates, @pl0xz0rz has implemented something similar in RootInteractive for Python -> javascript with ast. We have replaced the python functions with corresponding javascript functions.
The text was updated successfully, but these errors were encountered: