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

Check if scratch ensemble is empty #457

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

HansKallekleiv
Copy link
Collaborator

@HansKallekleiv HansKallekleiv commented Sep 29, 2020

--

Contributor checklist

f"Ensemble {ensemble_name} is said to be located at {ensemble_path},"
" but that wildcard path does not give any matches."
f"No realizations with a valid target file ('OK') found for ensemble "
f"{ensemble_name} located at {ensemble_path}. "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add something even more explicit? E.g. "This can e.g. occur when running ERT if no simulations are finished, or all simulations failed."?

webviz_subsurface/__init__.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@asnyv asnyv left a comment

Choose a reason for hiding this comment

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

👍 🎉

Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

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

Worth adding a changelog entry for this one?

@HansKallekleiv HansKallekleiv force-pushed the ens-warning branch 3 times, most recently from 5accaf0 to 00e6239 Compare September 30, 2020 12:09
" but that wildcard path does not give any matches."
f"No realizations with a valid target file ('OK') found for ensemble "
f"{ensemble_name} located at {ensemble_path}. This can occur when running "
"ERT if no simulations are finished, or all simulations has failed."
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"ERT if no simulations are finished, or all simulations has failed."
"ERT if no simulations are finished, or all simulations have failed."

@HansKallekleiv HansKallekleiv merged commit e4e10db into equinor:master Oct 1, 2020
@HansKallekleiv HansKallekleiv deleted the ens-warning branch October 1, 2020 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

load_ensemble_set should give a warning if an ensemble is empty
3 participants