Skip to content

Commit c912898

Browse files
committed
Fixing default protocol
1 parent 62957f2 commit c912898

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
@@ -95,7 +95,7 @@ def define(cls, spec):
9595
valid_type=dict,
9696
non_db=True,
9797
required=False,
98-
default=None,
98+
default=lambda: {},
9999
help='A custom protocol dictionary that can be provided when the `protocol` input is set to `custom`. '
100100
'In that case, this dictionary will be used to override the default protocol settings.',
101101
)

0 commit comments

Comments
 (0)