Remove environment variables from create_request_file.py - #529
Open
Naomi Parsons (NParsonsMO) wants to merge 15 commits into
Open
Remove environment variables from create_request_file.py#529Naomi Parsons (NParsonsMO) wants to merge 15 commits into
create_request_file.py#529Naomi Parsons (NParsonsMO) wants to merge 15 commits into
Conversation
Naomi Parsons (NParsonsMO)
marked this pull request as ready for review
July 14, 2026 10:13
Collaborator
Author
|
This changes a lot of the same files as so it will be much easier (fewer conflicts) to add in the |
…_request_filepy # Conflicts: # CMEW/app/configure_standardise/bin/configure_standardise.sh # CMEW/app/configure_standardise/bin/create_request_file.py # CMEW/app/configure_standardise/bin/test_create_request_file.py
| Path(__file__).parent.parent / "etc" / "request_defaults.yml" | ||
| ) | ||
| stream_config_path = Path(__file__).parent.parent / "etc" / "streams.yml" | ||
| monkeypatch.setattr(create_request_file, "list_streams", fake_list_streams) |
Collaborator
Author
There was a problem hiding this comment.
Can / should we avoid monkeypatch here?
Collaborator
Author
|
The request file needs to be made after the variables file so I'm waiting until PR #530 is reviewed. |
|
|
||
| [command] | ||
| default=configure_standardise.sh | ||
| default=cmew-esmvaltool-env create_variables_file.py |
Collaborator
Author
There was a problem hiding this comment.
The variables file needs to have been created first, but this single line is probably already lots of lines by now (if PR #530 has been merged).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #523
PR creation checklist for the developer
<issue_number>above ☝️ has been replaced with the issue number.mainhas been selected as the base branch.<issue_number>_<short_description_of_feature>.good first issuelabel) have been added to the PR.Climate Model Evaluation Workflow (CMEW)project has been added to the PR.Definition of Done for the developer
docdirectory, including the Quick Start section; select one of the following):Copyright and IPR:
PR creation checklist for the reviewer
<issue_number>above ☝️ has been replaced with the issue number.mainhas been selected as the base branch.<issue_number>_<short_description_of_feature>.good first issuelabel) have been added to the PR.Climate Model Evaluation Workflow (CMEW)project has been added to the PR.Definition of Done for the reviewer
docdirectory, including the Quick Start section; select one of the following):Important
#<pull_request_number>: <pull_request_title>when writing the merge commit message for the pull request, so the pull request number is immediately visible on GitHub, regardless of the length of the pull request title.