IMSY-DKFZ / simpa

The Simulation and Image Processing for Photoacoustic Imaging (SIMPA) toolkit.
https://simpa.readthedocs.io/en/main/
Other
65 stars 17 forks source link

Path names and management #294

Open leoyala opened 3 weeks ago

leoyala commented 3 weeks ago

Currently, path management is doe through the class PathManager. The path names are, however, too generic, such as SAVE_PATH, which can lead to clashes with other packages or variables.

Solution Disambiguate paths by prepending SIMPA_ to them. In addition, it should be allowed for the variables to be loaded directly from the environment, without having to define a .env file.