Skip to content

Commit

Permalink
Another small bug in wfl.generate.md constant pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
bernstei committed Oct 30, 2024
1 parent b734787 commit f4d30db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfl/generate/md/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _get_temperature(atoms):
at.calc = calculator
if pressure_use is not None and compressibility_au is None:
pressure_use = sample_pressure(pressure_use, at, rng=rng)
at.info['MD_pressure_GPa'] = pressure
at.info['MD_pressure_GPa'] = pressure_use
# convert to ASE internal units
pressure_use *= GPa

Expand Down

0 comments on commit f4d30db

Please sign in to comment.