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

Create cupid-dev/cupid analysis environments if not already installed #120

Open
TeaganKing opened this issue Jul 24, 2024 · 0 comments
Open
Labels
enhancement New feature or request framework

Comments

@TeaganKing
Copy link
Collaborator

Particularly in the case of running CUPiD from the CESM workflow, we'd like to create cupid-dev/cupid analysis environments if those environments are not already installed.

We could do this by including a bash script that checks if cupid-dev exists, and if it doesn't exist, create the environment. This could look like the following:

FOUND=TRUE; conda activate cupid-dev 2>/dev/null || FOUND=FALSE
mamba env create -f environments/dev-environment.yml
conda activate cupid-dev
mamba env create -f environments/cupid-analysis.yml

Alternatively, we could advise users to install the environments ahead of time, but it'd be nice to have this automated.

@TeaganKing TeaganKing added enhancement New feature or request framework labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request framework
Projects
None yet
Development

No branches or pull requests

1 participant