Skip to content

Fix repr for atoms if _calc is not present.

username-removed-270697 requested to merge andrew_peterson/ase:atoms-repr into master

This was happening when setting the calculator to a new Jacapo instance with the calculator keyword when initializaing Atoms. Jacapo makes a log that the atoms have been set to repr(atoms), which failed because it had no _calc attribute.

Merge request reports