Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand file paths uniformly throughout Xopt #85

Open
ColwynGulliford opened this issue Dec 17, 2022 · 0 comments
Open

Expand file paths uniformly throughout Xopt #85

ColwynGulliford opened this issue Dec 17, 2022 · 0 comments

Comments

@ColwynGulliford
Copy link

ColwynGulliford commented Dec 17, 2022

In running Xopt with a population file I noticed I can't use ENV variables in generator:population_file key in the Xopt yaml file:

generator:
    name: cnsga
    population_size: 320
    output_path: /global/homes/c/cgull12/m3645/cgull12/cooler/pc/in2mg/v2
    population_file: $COOLER/xopt/pc/in2mg/v2/seed_pop0.csv

This causes Xopt to raise a "file not found" exception. If I put the full path in, it works. I am able to use the ENV variable for other paths in the input file though. It would be nice if Xopt allowed this uniformly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant