Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Jan 8, 2025
1 parent 58a22f8 commit 29201df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scilifelab_epps/utils/udf_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ def fetch_last(
current_art = pp_tuple[0]["uri"]
break
else:
raise NotImplementedError("Parent process has no valid input-output links, traceback can't continue.")
raise NotImplementedError(
"Parent process has no valid input-output links, traceback can't continue."
)

# Dynamically reassign parent process
pp = current_art.parent_process
Expand Down Expand Up @@ -258,7 +260,8 @@ def fetch_last(
f"Parent process '{pp.type.name}' ({pp.id})"
+ f" has target UDF(s) {target_udfs_in_parent_process},"
+ f" but it's not filled in for artifact '{current_art.name}' ({current_art.id})."
+ f" Please double check that you haven't missed filling it in.")
+ f" Please double check that you haven't missed filling it in."
)

# Stop traceback if no parent process is found
if pp is None:
Expand Down

0 comments on commit 29201df

Please sign in to comment.