Skip to content

Commit

Permalink
Process: Fix default output node validation error message. (#5243)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha authored Dec 3, 2021
1 parent ced1033 commit 08ac107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida/engine/processes/process_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def default_output_node(self, port_name: str) -> None:

if valid_type_port is not valid_type_required:
raise ValueError(
f'the valid type of a default output has to be a {valid_type_port} but it is {valid_type_required}'
f'the valid type of a default output has to be a {valid_type_required} but it is {valid_type_port}'
)

self._default_output_node = port_name

0 comments on commit 08ac107

Please sign in to comment.