Skip to content

Commit

Permalink
improve logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Jan 8, 2025
1 parent 16423cb commit 58a22f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scilifelab_epps/utils/udf_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def fetch_last(
logging.warning(
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}' ({current_art.id})."
+ 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.")

# Stop traceback if no parent process is found
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch_last_known_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def main(args):

# Find target output artifacts, if any
if no_outputs:
logging.info("Step has no output artifacts. Assigning to input artifact.")
logging.info("Step has no output artifacts. Assigning to input artifacts.")
else:
art_tuples: list[tuple[dict]] = process.input_output_maps
art_in2out: dict[str:Artifact] = {
Expand Down

0 comments on commit 58a22f8

Please sign in to comment.