Closed janssenhenning closed 2 years ago
I don't see a downside to this, but won't have the time to implement it myself. Making the path absolute can probably happen after this code block
For the config file path, I think it makes sense to add that to the config as a "special" key in Config.from_file
, making sure to exclude it in Config.to_file
.
Tagging @ltalirz for comment.
Also no objections from my side.
I actually had the need to store also a prepend_text
per code (see https://github.com/ltalirz/aiida-testing/tree/add-prepend-text), i.e. I needed to allow for several fields to be stored per code in the config file.
Anyhow, this is not needed for this feature.
In
aiida-fleur
we would like to place the executables to generate mock code test data relative to the location of the.aiida-testing-config.yml
. Currently this is only possible with some hacks (See https://github.com/JuDFTteam/aiida-fleur/blob/develop/.github/workflows/ci.yml#L136 for an example) Here the paths are modified in the CI to be absoluteWe usually don't add compiled
fleur
executables to a global bin folder, since there are multiple executables with different configurations on the same machine very often.