Skip to content

Remove libNNPDF from python

Emanuele Roberto Nocera requested to merge unlink_libNNPDF_fromPython into master

Created by: scarlehoff

This PR removes all libNNPDF imports from python. The compilation still happens (not planning to remove that in this PR) so one can still do import NNPDF if needed.

I've tested the examples in the validphys/examples folder and they seem to work ok.

The main thing this PR actually does is to remove the load functions which in the past were loading the full dataset (fktables, cuts, commondata) just to do things like getting the number of points because that's what C++ asked for. I've changed these for load_commondata functions which seem to be enough everywhere (the only information requested by the calling function was whatever was contained in the commondata). Since the commondata is now pure python, no C++ is needed anymore.

Merge request reports

Loading