-
Notifications
You must be signed in to change notification settings - Fork 312
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
Moving critical toolchain scripts to /python and creating wrapper scripts for them #2156
Conversation
A few comments on unit test additions that I made after the hackathon today:
|
@TeaganKing this all sounds really great. I just wanted to comment on your item "3" above. What I've done with files that we need for the python system tests is I'll usually copy them from existing files that we have from inputdata. Since, we can't guarantee inputdata find files will be accessible, it's best to explicitly add the files that are needed for testing with the names we need for the tests. We've set this up using "git lfs" which does require a small amount of setup. See the README files in that directory for this. We still try to only put files in there that are as small as possible. |
Got it! Thanks for these details. I did see some files that were stored with Git LFS. I think we'll just need to determine which files we want to use (or if we can use any files that are already there), and then I'll be sure to add them with large file storage. |
@TeaganKing @samsrabin has the solution above! 3 point swish for him! I tried his suggestion out and it's now working for me. So let's still meet this afternoon and go over what to do for the final version. |
Sounds great! And that's fantastic, thanks so much for sharing your previous experience and solutions to this issue, @samsrabin ! |
All credit to @billsacks for the trace there! |
@@ -58,7 +58,7 @@ def test_one_site(self): | |||
|
|||
# assert that BART directories were created during setup | |||
self.assertTrue("BART" in glob.glob(self._tempdir + "/BART*")[0]) | |||
#self.assertTrue("BART" in glob.glob("BART*")[0]) | |||
# self.assertTrue("BART" in glob.glob("BART*")[0]) |
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.
Do we need to keep this alternate line around as a comment, or could we remove? I'm fine either way if there's justification.
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.
Ah, yes, I can remove that! Thanks for catching this.
After discussing some additional changes with @ekluzek and @slevis-lmwg , I have made those changes and updated the ChangeLog. So, this is ready for a new tag! |
@@ -10,6 +10,9 @@ b88e1cd1b28e3609684c79a2ec0e88f26cfc362b | |||
b771971e3299c4fa56534b93421f7a2b9c7282fd | |||
9de88bb57ea9855da408cbec1dc8acb9079eda47 | |||
8bc4688e52ea23ef688e283698f70a44388373eb | |||
4ee49e3e516ca7dee5df378f65664f93a7db4415 | |||
0207bc98dd5c75cd69a0e788bc53e41093712f5c |
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.
Reminder to add e4d3868
@TeaganKing I'm happy to do this unless you get to it first.
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.
Done
Sorry, I forgot to ask something else: |
No updates to |
We will need to update the tag to |
Resolved conflicts: .git-blame-ignore-revs doc/ChangeLog doc/ChangeSum
make all: OK (in a meeting with @TeaganKing and @ekluzek we decided to ignore pylint suggestions) |
The plan is to merge this PR with a few other PRs listed in this card. |
Description of changes
subset_data.py (DONE before this PR)
run_neon.py
neon_surf_wrapper.py
modify_singlept_site_neon.py
subset_data (DONE before this PR)
run_neon
neon_surf_wrapper
modify_singlept_site_neon
Specific notes
Contributors other than yourself, if any:
@TeaganKing and hackathon participants (2023/9/13)
CTSM Issues Fixed (include github issue #):
Fixes #1441
Are answers expected to change (and if so in what way)?
No
Any User Interface Changes (namelist or namelist defaults changes)?
The wrapper scripts do not have .py suffixes.
Testing performed, if any:
./run_neon --help
./run_neon --neon-sites ABBY
...the latter still running as we speak.