Skip to content

Installation script#846

Open
maxbriel wants to merge 2 commits into
v2.3from
mb_install_script
Open

Installation script#846
maxbriel wants to merge 2 commits into
v2.3from
mb_install_script

Conversation

@maxbriel

Copy link
Copy Markdown
Collaborator

A script to simplify the installation of POSYDON, setup the environment, and download the data.

The idea is that the user only has to run the command below, which downloads and starts the script. The script guides the user through the POSYDON installation.

bash <(curl -sSL https://raw.githubusercontent.com/POSYDON-code/POSYDON/main/install.sh)

Important

Requires conda to already be installed! I can adapt the code to also check the operating system + install conda if not install. Is that's something we want?

Co-written with Claude Sonnet 4.6

@maxbriel maxbriel requested a review from a team May 15, 2026 12:39
Comment thread install.sh
Comment on lines +206 to +209
if [[ -z "$DATA_PATH" ]]; then
print_error "Path cannot be empty!"
continue
fi

@sgossage sgossage Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it could be good to check for pre-existing datasets and/or if $PATH_TO_POSYDON_DATA already exists and give an option to use that.

@sgossage

Copy link
Copy Markdown
Contributor

Requires conda to already be installed! I can adapt the code to also check the operating system + install conda if not install. Is that's something we want?

It looks like we have a warning that guides users on what to do if conda is not detected, which I think is fine. If we implement an automated conda install, things could become complicated with OS dependencies and future-proofing, which I'm not against, but I think it is reasonable to exclude for now.

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

Successfully merging this pull request may close these issues.

2 participants