-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
* write sounding_data.dat file in output directory instead of current working directory * refactored plot classes - renamed logger class variables to be consistent and call utility functions to greatly simplify the main functions of each plot that are handled in the same way * Refactored unit tests so they can be run from any directory, not just the directory containing the test. Added pytest fixtures to handle setup of environment and remove files and intermed_files directories. Set env var TEST_DIR to the current test directory and reference it in yaml files to ensure that test input/output is read/written from the correct test directory. Changed file paths to be relative to test directory instead of current working directory * added PyCharm-generated files that shouldn't change * run pytests from top directory and generate code coverage report to send to SonarQube server * clone METcalcpy into different directory to prevent pytest to running its tests * install METcalcpy into different directory * cleanup * remove unnecessary call to remove sounding_data.dat file that is removed when scrubbing the output dir * remove unused variable * removed unused variable and whitespace * clean up linter complaints * add prints to help debugging if test fails * clean up tests to run faster by running plot script once and checking for all files
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
relative_files = True |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.