-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Refactor]: Refactor integration tests and add use_cfg
flag to run_diags()
#747
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0c7307a
Remove default diags running with only Python API
tomvothecoder 00865fe
Clean up `test_all_sets.py` and `test_diags.py`
tomvothecoder 083ae3c
Fix paths for enso_diags in `all_sets_modified.cfg`
tomvothecoder daf1940
Fix referenced paths in `test_all_sets_image_diffs.py`
tomvothecoder 9b55499
Remove unused NERSC function
tomvothecoder cb9f64e
Add debug mode
tomvothecoder 715c025
Fix missing default value to debug in get_final_parameters
tomvothecoder 0cdca64
Update pyproject.toml
tomvothecoder 2f96ca4
Update e3sm_diags/run.py
tomvothecoder 590fc37
Update e3sm_diags/run.py
tomvothecoder e7b049d
Fix sets to run
tomvothecoder 9cb6777
Fix default sets
tomvothecoder 0b99fff
Fix `test_all_sets_and_all_season`
tomvothecoder d19d4da
Refactor how cfg parameters are set
tomvothecoder 7c9c607
Fix removal of CoreParameter default sets breaking integration test
tomvothecoder 4c0a057
Fix class property and default sets
tomvothecoder 63e29bf
Fix property
tomvothecoder 4e24fb2
Update docstring
tomvothecoder 4d562ce
Update e3sm_diags/run.py
tomvothecoder c2b5cf9
Fix comments
tomvothecoder 2942f25
Fix cfg_params being modified in memory
tomvothecoder 8618ba9
Update Makefile commands
tomvothecoder 4e7bf9c
Revert core_parser changes
tomvothecoder 3122650
Revert formatting changes
tomvothecoder 720dc10
Revert formatting
tomvothecoder 3ae6d54
Rename `debug` to `use_cfg`
tomvothecoder d3e0c9a
Update use_cfg param in test
tomvothecoder 5eaf7b3
Remove `test_all_sets_modified_image_counts.py`
tomvothecoder 9f1862a
Remove `test_dataset.py` and move `test_run.py` to unit tests dir
tomvothecoder 13547ad
Update attr comment in Run class
tomvothecoder 3ff0aa7
Rename `debug_params` to `params`
tomvothecoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parameter_results
are now returned so that we can parse them for theresults_dir
in unit/integration tests.It is also generally useful to see the results after each diagnostic run.