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

Detect when necessary ERT variables are missing #95

Open
perolavsvendsen opened this issue Oct 17, 2022 · 0 comments
Open

Detect when necessary ERT variables are missing #95

perolavsvendsen opened this issue Oct 17, 2022 · 0 comments

Comments

@perolavsvendsen
Copy link
Member

Uploader requires three variables to be set: <SUMO_CASEPATH>, <SUMO_ENV> and <SEARCHPATH>. <SEARCHPATH> is conventionally set in the job call, while <SUMO_CASEPATH> and <SUMO_ENV> are part of configuration.

If the two latter variables are unset, the raw strings will be forwarded to the Uploader. The Uploader will then fail when trying to build a path containing the string "<SUMO_CASEPATH>" and subsequently trying to upload to a Sumo environment called "<SUMO_ENV>".

We should consider detecting this specific situation where these are unset, e.g. check if the input given for "casepath" is a string == "<SUMO_CASEPATH>"

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