-
Notifications
You must be signed in to change notification settings - Fork 0
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
Change 'salish' submit job command to 'bash' #80
Merged
Merged
Conversation
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
Updated the submit job command for 'salish' from 'qsub' to 'bash'. Adjusted multiple test cases to reflect this change.
3 tasks
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #80 +/- ##
=======================================
Coverage 95.36% 95.37%
=======================================
Files 10 10
Lines 1316 1362 +46
Branches 73 77 +4
=======================================
+ Hits 1255 1299 +44
- Misses 57 58 +1
- Partials 4 5 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
This reverts commit a9631a4.
`salish` no longer uses a scheduler. So, its run execution script no longer needs either `#SBATCH` or `#PBS` directives sections. Also refactored `test_salish` to use `monkeypatch.setattr` instead of `patch`.
Replaced `with patch` context managers with `monkeypatch.setattr` in all TestModules test cases to improve code readability and consistency. Added new test for "salish" system to ensure future-proofing and full coverage of available systems.
This commit adds redirection of stdout and stderr to files within `${RESULTS_DIR}` for the `salish` system, ensuring logging of output and error streams. New tests were added to verify the functionality for both the `--deflate` and non-deflate cases. Necessary changes were made in the `_execute()` function and corresponding test cases to support this redirection.
Moved the _execute() call out of the script string construction for compatibility with Python 3.11. This change assigns the _execute call result to a variable before joining it into the final script.
Updated the job submission command for the 'salish' system from 'qsub' to 'bash'. Added logic to handle job submissions specifically for 'bash' and adjusted unit tests accordingly to ensure compatibility and functionality.
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.
re: issue #78
qsub
tobash
echo
andmpirun
commands in the run script because their output is no longer automatically captured