Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/fork_lenz/develop' into fi…
Browse files Browse the repository at this point in the history
…x_ddp_training
  • Loading branch information
RandomDefaultUser committed Oct 29, 2024
2 parents 890efa2 + 27dec15 commit 043a716
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mala/targets/density.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def __setup_total_energy_module(
qe_input_data=None,
qe_pseudopotentials=None,
):
if create_file:
if create_file and Density.te_mutex is False:
# If not otherwise specified, use values as read in.
if qe_input_data is None:
qe_input_data = self.qe_input_data
Expand Down
2 changes: 2 additions & 0 deletions mala/targets/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,8 @@ def _process_geometry_info(self, mesh):
if "angles" in mesh.attributes:
angles = mesh.get_attribute("angles")
self.voxel = ase.cell.Cell.new(cell=spacing + angles)
else:
self.voxel = None

def _get_atoms(self):
return self.atoms
Expand Down

0 comments on commit 043a716

Please sign in to comment.