Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code refactoring #429

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix bug
  • Loading branch information
tosemml committed Sep 7, 2023
commit 76154b3129bd313fbbf6bc30e84a0dc884558438
2 changes: 1 addition & 1 deletion qcengine/mdi_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def recv_natoms(self, natoms: Optional[int] = None) -> None:
if natoms is None:
natoms = MDI_Recv(1, MDI_INT, self.comm)

mol_string = " 0.0 0.0\n".join(["He " + str(1.0 * iatom) for iatom in range(natoms)])
mol_string = " 0.0 0.0\n".join(["He " + str(1.0 * iatom) for iatom in range(natoms)]) + " 0.0 0.0\n"
self.molecule = qcel.models.Molecule.from_data(mol_string)

self.energy_is_current = False
Expand Down