diff --git a/mala/targets/target.py b/mala/targets/target.py index 1d31d1c8a..52664353b 100644 --- a/mala/targets/target.py +++ b/mala/targets/target.py @@ -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