-
Notifications
You must be signed in to change notification settings - Fork 55
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
handle more job status on SGE system #491
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
11fe336
revise SGE
thangckt 8140a43
Update pbs.py
thangckt b893544
Update pbs.py
thangckt 82b7262
Update pbs.py
thangckt 01ffd14
add sge_qe_name
thangckt 56e3afe
Update pbs.py
thangckt 703aa49
y
thangckt 2c3b38a
Update submission.py
thangckt f73e0f9
u
thangckt 957cf4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 034c9d7
Update pbs.py
thangckt 3f07742
Update pbs.py
thangckt 499c691
Merge branch 'PR' into master
thangckt 76150bf
Merge pull request #1 from thangckt/master
thangckt ef28a1b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 65dca91
u
thangckt ffe52e1
Merge pull request #2 from thangckt/master
thangckt 8d7b566
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8c50c4f
u
thangckt 89d2a41
Merge branch 'PR' into master
thangckt 2093336
Merge pull request #3 from thangckt/master
thangckt 920984d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c8f5657
y
thangckt ef6ebeb
Merge branch 'master' of https://github.com/thangckt/dpdispatcher
thangckt f56fa50
Merge branch 'PR' into master
thangckt e06c648
Merge pull request #4 from thangckt/master
thangckt 6d6c973
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dae7909
Update pbs.py
thangckt 4ca179c
Merge pull request #5 from thangckt/master
thangckt 83644c3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b1758d9
Create _version.py
thangckt 62a3459
Delete dpdispatcher/_version.py
thangckt 774b130
Merge pull request #6 from deepmodeling/master
thangckt 2ae2e62
Update pbs.py
thangckt ad6b971
Merge branch 'master' of https://github.com/deepmodeling/dpdispatcher…
thangckt d02adf6
Merge pull request #8 from deepmodeling/master
thangckt 3aca952
Merge pull request #9 from deepmodeling/master
thangckt 9fc0f84
Merge branch 'master' into PR
thangckt 95b8aa5
Merge pull request #10 from deepmodeling/master
thangckt cc7efcd
Merge pull request #11 from thangckt/master
thangckt 99589d3
u
thangckt 711da1d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1e0c21e
Update test_lsf_script_generation.py
thangckt 10cf5d3
Merge branch 'PR' of https://github.com/thangckt/dpdispatcher into PR
thangckt 416a767
Merge pull request #12 from thangckt/PR
thangckt e530cf6
Update test_lsf_script_generation.py
thangckt 5adce1b
Merge pull request #13 from deepmodeling/master
thangckt 4084a31
Update pbs.py
thangckt 9b1c566
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fc690ae
change `sge_pe_name` to `pe_name`
thangckt cfbc5dd
Update ssh_context.py
thangckt 81f52a3
Merge branch 'master' into master
thangckt 7bbc485
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 37da47c
u
thangckt bca9728
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 02f1449
Merge pull request #14 from deepmodeling/master
thangckt c13be3b
Update SSHcontext: add execute command
thangckt a9fbadf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fba9574
Update pbs.py
thangckt 0d2cd71
Merge remote-tracking branch 'upstream/master' into dev
thangckt 5f42bc8
Update dlog.py
thangckt bfe1615
Update dlog.py
thangckt 1ded55e
Merge pull request #16 from deepmodeling/master
thangckt 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
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.
Consider refactoring status checks for better maintainability.
The current structure of multiple if-elif statements might become hard to maintain if more status words are added in the future. Consider refactoring this part of the code to use a dictionary for status mapping, which would make it more maintainable and easier to extend.
Here's a suggested refactoring:
This approach centralizes the status mapping, making it easier to add or modify statuses in the future without changing the method's logic.
Tools
GitHub Check: codecov/patch