Skip to content

Commit fddb342

Browse files
committed
fixed bug with ecps for gaussian input
1 parent 04506c1 commit fddb342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

theory/basis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ def get_gaussian_basis_info(self):
783783
else:
784784
info[GAUSSIAN_ROUTE]["/genecp"] = []
785785
try:
786-
info[GAUSSIAN_ROUTE].remove("/gen")
786+
del info[GAUSSIAN_ROUTE]["/gen"]
787787
except KeyError:
788788
pass
789789

theory/theory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ def get_gaussian_header(
887887
elif self.geometry.name:
888888
other_kw_dict[GAUSSIAN_COMMENT] = [self.geometry.name]
889889
else:
890-
other_kw_dict[GAUSSIAN_COMMENT] = "comment"
890+
other_kw_dict[GAUSSIAN_COMMENT] = ["comment"]
891891

892892
# add EmpiricalDispersion info
893893
if self.empirical_dispersion is not None:

0 commit comments

Comments
 (0)