Skip to content

Expand file paths uniformly throughout Xopt #85

Description

@ColwynGulliford

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions