Flair Python Interface

Versions

Please provide the used software versions.

FLUKA: -
Flair: 3.4-5.2
Operating system: Linux

Description

Please describe the issue. In case of reporting a bug, please provide step-by-step instructions for reproducing the error.

The Flair manual for the python API does not seem to be up-to-date as far as I can tell.

https://flair.cern/manual/F7.2.html this entry seems to suggest that there is a `Input.read(file::string)` method, however when I try to use this method or look into the code at `$FLAIR_DIR/deck/input.py` there is no read method in there. There exists a `load` method though. But that method for me returns False and does not add any cards to the Input instance because the `_load` method always returns False and this aborts the loading.

Am I missing something here?

Input files

Please upload all relevant files. (FLUKA input file, Flair project file, user routines, and data files)

Any file

In the meantime I discovered that I need to run import fluka and fluka.init(), which allows both Project.load("filename.flair") and fluka.Fluka("filename.inp") to work.
Therefore, at this point I would only ask for maybe adding a small hint about this to the manual?