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

Fix manifest having too many files and not substituting #9233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eivindjahren
Copy link
Contributor

@eivindjahren eivindjahren commented Nov 15, 2024

Also makes substitution of and for
all parameters and responses

  • 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 unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

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

@eivindjahren eivindjahren added the release-notes:bug-fix Automatically categorise as bug fix in release notes label Nov 15, 2024
@eivindjahren eivindjahren force-pushed the fix_manifest2 branch 2 times, most recently from 456919e to 39f78f6 Compare November 18, 2024 09:59
Also makes substitution of <IENS> and <ITER> for
all parameters and responses
Copy link
Collaborator

@sondreso sondreso left a comment

Choose a reason for hiding this comment

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

Except for my small question, this LGTM! 🚢

@@ -166,7 +167,9 @@ def write_to_runpath(
self, run_path: Path, real_nr: int, ensemble: Ensemble
) -> None:
t = time.perf_counter()
file_out = run_path.joinpath(self.output_file)
file_out = run_path.joinpath(
substitute_runpath_name(str(self.output_file), real_nr, ensemble.iteration)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why str here and not other places? 🤔

Copy link
Contributor Author

@eivindjahren eivindjahren Nov 25, 2024

Choose a reason for hiding this comment

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

This is the only one of these that uses Path for self.output_file

@sondreso
Copy link
Collaborator

This is marked as a bug fix, but no issue is marked in the description 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:bug-fix Automatically categorise as bug fix in release notes
Projects
Status: Ready for Review
Development

Successfully merging this pull request may close these issues.

3 participants