Is your feature request related to a problem? Please describe.
As of right now, it is not possible to use a path obtained with pathlib to create a DataFile, which makes using a FASTOADProblem as well. This comes from the fact that DataFile checks type of the path to be used and only supports str, IO or list. Paths coming from pathlib, however have their own specific type
Describe the solution you'd like
Either add an if to allow pathlib paths or transition from os to pathlib alltogether
Describe alternatives you've considered
Keep using os 😅
Is your feature request related to a problem? Please describe. As of right now, it is not possible to use a path obtained with
pathlib
to create a DataFile, which makes using aFASTOADProblem
as well. This comes from the fact that DataFile checks type of the path to be used and only supportsstr
,IO
orlist
. Paths coming frompathlib
, however have their own specific typeDescribe the solution you'd like Either add an if to allow
pathlib
paths or transition fromos
topathlib
alltogetherDescribe alternatives you've considered Keep using
os
😅