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

Bugfix: not reading structure after dynamics. #45

Merged
merged 1 commit into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
=======
History
=======
2023.8.31 -- Bugfix: not reading structure correctly after dynamics

2023.8.27 -- Added support for tabulated angle potentials.
* Support for the CL&P-OPLSAA potential for octahedral PF6-

Expand Down
10 changes: 5 additions & 5 deletions lammps_step/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,12 +868,12 @@ def _execute_single_sim(self, files, np=1, return_files=None):
else:
self._add_lammps_citations(result["stdout"])

base = os.path.basename(files["input"]["filename"][0:-4])
dump_file = base + ".dump.0"
# base = os.path.basename(files["input"]["filename"][0:-4])
# dump_file = base + ".dump.0"

files["dump"] = {}
files["dump"]["filename"] = dump_file
files["dump"]["data"] = None
# files["dump"] = {}
# files["dump"]["filename"] = dump_file
# files["dump"]["data"] = None

files["input"] = {}
files["input"]["filename"] = None
Expand Down
Loading