Skip to content

Commit

Permalink
expanded hash graph error message to include final values/hashes of p…
Browse files Browse the repository at this point in the history
…roblematic nodes
  • Loading branch information
tclose committed Sep 25, 2023
1 parent 5285551 commit 52622d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pydra/engine/submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ async def expand_workflow(self, wf, rerun=False):
msg += f"- '{task.name}' node blocked due to\n"
for pred in waiting_on:
if pred.checksum != graph_checksums[pred.name]:
msg += f" - hash changes in '{pred.name}' node inputs\n"
msg += (
f" - hash changes in '{pred.name}' node inputs. "
f"Current values and hashes: {pred.inputs}, "
f"{pred.inputs._hashes}\n"
)
elif pred not in outstanding:
msg += (
f" - undiagnosed issues in '{pred.name}' node "
Expand Down

0 comments on commit 52622d0

Please sign in to comment.