Skip to content

Commit f10bfdb

Browse files
committed
added back in return statement that was inadvertently removed
1 parent 6009924 commit f10bfdb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pydra/engine/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ def _sanitize_spec(
943943
raise ValueError("Provided SpecInfo must have BaseSpec as its base.")
944944
if "_graph_checksums" not in {f[0] for f in spec.fields}:
945945
spec.fields.insert(0, graph_checksum_input)
946+
return spec
946947
else:
947948
base = BaseSpec
948949
if isinstance(spec, list):

pydra/engine/tests/test_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_wf_specinfo_input_spec():
6969
bases=(ShellSpec,),
7070
)
7171
with pytest.raises(
72-
ValueError, match="Provided SpecInfo must have BaseSpec as it's base."
72+
ValueError, match="Provided SpecInfo must have BaseSpec as its base."
7373
):
7474
Workflow(name="workflow", input_spec=bad_input_spec)
7575

0 commit comments

Comments
 (0)