Skip to content

Commit

Permalink
Devops: Fix pymatgen import causing mypy to fail (#6540)
Browse files Browse the repository at this point in the history
The `pymatgen==2024.07.18` release removed the exposing of `Molecule` in
`pymatgen.core` causing `mypy` to fail. The import is updated to reflect
the actual origin of the definition.
  • Loading branch information
sphuber authored Jul 21, 2024
1 parent 17dc88c commit 6b56d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/orm/nodes/data/test_jsonable.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from aiida.orm import load_node
from aiida.orm.nodes.data.jsonable import JsonableData
from pymatgen.core import Molecule
from pymatgen.core.structure import Molecule


class JsonableClass:
Expand Down

0 comments on commit 6b56d8b

Please sign in to comment.