<!---
Issues should be used for bug reports and development-related discussion.
For general questions and help with using ASE, please use the ASE forum https://matsci.org/c/ase/36 .
-->

# Checklist
- [ ] The issue remains in the [development version of ASE](https://ase-lib.org/install.html#installation-from-source).
- [ ] An minimal example is provided to reproduce the issue.

# Summary
