Skip to content

Commit 419a11a

Browse files
committed
Fix the type of a port
1 parent 0ecc634 commit 419a11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aiida_common_workflows/workflows/relax/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def define(cls, spec):
9292
)
9393
spec.input(
9494
'custom_protocol',
95-
valid_type=OptionalFeatureType(dict),
95+
valid_type=(dict, type(None)),
9696
non_db=True,
9797
required=False,
9898
default=None,

0 commit comments

Comments
 (0)