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

Reduce use of enseble by name #7995

Merged

Conversation

frode-aarstad
Copy link
Contributor

Issue
Resolves #7893

Approach
Short description of the approach

(Screenshot of new behavior in GUI if applicable)

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure tests pass locally (after every commit!)

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@frode-aarstad frode-aarstad self-assigned this May 28, 2024
@frode-aarstad frode-aarstad force-pushed the reduce-use-of-enseble-by-name branch 2 times, most recently from 3982927 to 37f6645 Compare May 28, 2024 08:27
@frode-aarstad frode-aarstad force-pushed the reduce-use-of-enseble-by-name branch from 37f6645 to 93eb85c Compare May 28, 2024 10:33
help="Name of the ensemble where the results for the experiment "
dest="restart_ensemble_id",
help="Deprecated: This argument is deprecated and will be "
"removed in future versions. Use --restart-ensemble-id instead.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure we want users to specify an id instead of a name, as it's tricky to find the id of ensembles.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree the uuids for an ensemble is hard to find. Discussed this with @oyvindeide and we agreed that this change is ok as it is in a setting that is used by more advanced users

@frode-aarstad frode-aarstad merged commit 0bb4839 into equinor:main May 30, 2024
38 checks passed
@frode-aarstad frode-aarstad deleted the reduce-use-of-enseble-by-name branch May 30, 2024 06:48
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.

Use UUID for ensembles internally instead of `get_ensemble_by_name´
2 participants