Skip to content
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

fix f string of error message when unable to fetch working directory #21

Merged
merged 3 commits into from
Jan 16, 2025
Merged
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
4 changes: 3 additions & 1 deletion files/galaxy_jwd.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from typing import Optional, Tuple, Union
from xml.dom.minidom import parse

import psycopg2

Check warning on line 20 in files/galaxy_jwd.py

View workflow job for this annotation

GitHub Actions / pyright

Import "psycopg2" could not be resolved from source (reportMissingModuleSource)
import yaml


Expand Down Expand Up @@ -398,7 +398,9 @@
):
return jwd_path
else:
raise ValueError("Unabale to fetch Job Working Directory for job with ID {job}")
raise ValueError(
f"Unable to fetch Job Working Directory for job with ID {job_id}"
)


def delete_jwd(jwd_path: str) -> None:
Expand Down
Loading