NNPDF / pineappl

PineAPPL is not an extension of APPLgrid
https://nnpdf.github.io/pineappl/
GNU General Public License v3.0
12 stars 3 forks source link

Python paths handling #84

Closed alecandido closed 2 years ago

alecandido commented 2 years ago

I don't remember any longer where we wrote it, but it was already pointed out by @cschwan (I guess, otherwise @felixhekhorn) that since July it is possible to handle pathlib.Path directly from pyo3.

Thus, we should rework the API when dealing with paths, to work with python (and rust) paths, instead of relying on strings.

In particular, it is relevant for Grid::{read,write} and FkTable::{read,write}.