wetransform-os / ProMCDA

A tool to estimate ranks of alternatives and their uncertainties based on the Multi Criteria Decision Analysis approach.
Eclipse Public License 2.0
5 stars 1 forks source link

Remove hard-coded paths #41

Closed Flaminietta closed 7 months ago

Flaminietta commented 8 months ago

We remove any hard-coded paths from within the code by following the suggestion of @paulrougieux: https://github.com/wetransform-os/ProMCDA/issues/19#issuecomment-1920558504.

All needed input files (e.g., the input matrix) will be stored in a default directory inside the root directory of ProMCDA. However, the user is allowed to change the position of this directory by setting a custom directory path in the environment:

export CUSTOM_DIRECTORY_PATH=/path/to/custom/directory

This allows the user to customize the directory path without modifying the source code of the Python package.

paulrougieux commented 8 months ago