Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
calibration
pycalibration
Commits
4242582c
Commit
4242582c
authored
3 months ago
by
Thomas Kluyver
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/squeue-trailing-nl' into 'master'
[Webservice] Ignore final empty line from squeue See merge request
!1122
parents
cb3c05c2
41884fac
No related branches found
No related tags found
1 merge request
!1122
[Webservice] Ignore final empty line from squeue
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webservice/job_monitor.py
+1
-1
1 addition, 1 deletion
webservice/job_monitor.py
with
1 addition
and
1 deletion
webservice/job_monitor.py
+
1
−
1
View file @
4242582c
...
...
@@ -73,7 +73,7 @@ def slurm_status(filter_user=True):
cmd
+=
[
"
--me
"
]
res
=
run
(
cmd
,
stdout
=
PIPE
,
stderr
=
PIPE
)
if
res
.
returncode
==
0
:
rlines
=
res
.
stdout
.
decode
().
split
(
"
\n
"
)
rlines
=
res
.
stdout
.
decode
().
rstrip
(
"
\n
"
).
split
(
"
\n
"
)
statii
=
{}
for
r
in
rlines
[
1
:]:
try
:
...
...
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