Skip to content

Commit d65c5f3

Browse files
alongdjonwzheng
authored andcommitted
Load structure multiplicity if given in the Arkane input file
1 parent 2cc1d43 commit d65c5f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arkane/input.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ def species(label, *args, **kwargs):
186186
raise TypeError('species() got an unexpected keyword argument {0!r}.'.format(key))
187187

188188
if structure:
189+
if spin_multiplicity:
190+
structure.multiplicity = spin_multiplicity
189191
spec.molecule = [structure]
190192
spec.conformer = Conformer(E0=E0, modes=modes, spin_multiplicity=spin_multiplicity,
191193
optical_isomers=optical_isomers)

0 commit comments

Comments
 (0)