Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: check-toml

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.14.14'
rev: 'v0.15.0'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion vec_inf/client/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def parse_launch_output(output: str) -> tuple[str, dict[str, str]]:
command output. Configuration parameters are parsed from key-value pairs
in the output text.
"""
slurm_job_id = output.split(" ")[-1].strip().strip("\n")
slurm_job_id = output.rsplit(" ", maxsplit=1)[-1].strip().strip("\n")

# Extract config parameters
config_dict = {}
Expand Down