Skip to content

Commit a807603

Browse files
committed
Fix pre-commit.
1 parent 043c61b commit a807603

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

aiida_common_workflows/workflows/relax/cp2k/generator.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def get_file_section():
129129
'potential': potential,
130130
}
131131

132+
132133
def get_upf_pseudos_section(structure: StructureData, pseudo_family):
133134
"""Provide the pseudos section to the input."""
134135
pseudos_group = orm.load_group(pseudo_family)
@@ -248,9 +249,17 @@ def _construct_builder(self, **kwargs) -> engine.ProcessBuilder:
248249
# Starting magnetization.
249250
basis_pseudo = protocol_dict.pop('basis_pseudo')
250251
if 'sirius' in protocol:
251-
dict_merge(parameters, get_kinds_section(structure, basis_pseudo=None, magnetization_tags=magnetization_tags, use_sirius=True))
252+
dict_merge(
253+
parameters,
254+
get_kinds_section(structure, basis_pseudo=None, magnetization_tags=magnetization_tags, use_sirius=True)
255+
)
252256
else:
253-
dict_merge(parameters, get_kinds_section(structure, basis_pseudo=basis_pseudo, magnetization_tags=magnetization_tags, use_sirius=False))
257+
dict_merge(
258+
parameters,
259+
get_kinds_section(
260+
structure, basis_pseudo=basis_pseudo, magnetization_tags=magnetization_tags, use_sirius=False
261+
)
262+
)
254263

255264
# Relaxation type.
256265
if relax_type == RelaxType.POSITIONS:

0 commit comments

Comments
 (0)