Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Sluurp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tomotools
Sluurp
Commits
48b0f481
Commit
48b0f481
authored
4 months ago
by
payno
Browse files
Options
Downloads
Patches
Plain Diff
utils: fix 'get_partition_walltime' typo in docstring
parent
476b8e5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!14
Add 'get_partition_walltime_infos' function
Pipeline
#207175
passed
4 months ago
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sluurp/utils.py
+2
-2
2 additions, 2 deletions
src/sluurp/utils.py
with
2 additions
and
2 deletions
src/sluurp/utils.py
+
2
−
2
View file @
48b0f481
...
...
@@ -59,8 +59,8 @@ def get_partition_gpus(partition: str) -> tuple:
def
get_partition_walltime
(
partition
:
str
)
->
dict
[
str
,
str
]:
"""
Return for the given partition:
* time: walltime limit as
DD:
HH:MM
* default_time: default walltime as
DD:
HH:MM
* time: walltime limit as HH:MM
:SS
* default_time: default walltime as HH:MM
:SS
"""
process
=
SubProcessCommand
(
command
=
f
"
sinfo --partition=
{
partition
}
-O DefaultTime,Time
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment