-
Notifications
You must be signed in to change notification settings - Fork 92
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
Minor updates to allometry functional unit tests #656
Conversation
@adrifoster @jkshuman @KatieMurenbeeld I talked with Ryan about review of this PR. We agreed that although it's a pretty simple change, we wanted to give y'all the opportunity to check it out and suggest changes or improvements (since it's not a time critical PR). Please let us know if you have any suggested changes. |
@rgknox for future unit test updates, what do you think about producing a subset of tests results to share in the PR? The better verification is to get others to use it, but maybe having a small suite of tests to kick off would be good to verify things are working for others? |
I think a suitable time as elapse for others testing this code to chime in. I propose we move ahead, integrate, and get this off the growing list of PRs. |
@rgknox I tested this and it now works with Python3. I got an error with one section, but that may because of the file I am using. Let me know if you want to investigate/talk about it.
I also got these errors, but that may be from running on Hobart?
|
@jkshuman , regarding the first issue, I think that should render a missing point on the plots, which should be useful information in error checking. If the line suddenly stops, something is wrong with the function somewhere. Regarding the second, yeah, not sure. Sounds like the python plotting functions want access to the low level graphics library libgl, but can't find it. There should be module dependencies on the machine that make sure libgl is loaded. Maybe load it manually, I forget how hobart handles loading software. |
Description:
This set of changes makes the allometry unit tests Python 3 compliant, and adds some minor syntax changes and small tweaks to the scripting and analysis.
Collaborators:
@adrifoster @jkshuman @KatieMurenbeeld
Expectation of Answer Changes:
This should have no impact on FATES
Checklist:
Test Results:
The changes to the FATES non-unit testing code is only comments. The unit testing framework is a test itself, and these changes are designed to just clean up the tests and make them easier to use.
CTSM (or) E3SM (specify which) test hash-tag:
CTSM (or) E3SM (specify which) baseline hash-tag:
FATES baseline hash-tag:
Test Output: