Open bastonero opened 1 year ago
This is actually a problem related to this PR https://github.com/aiidateam/aiida-core/pull/6281#issue-2125449409 The solution will then simply to update the dependencies of aiida-core to the future version where this PR is merged.
The
create_directional_kpoints
method crashes when calling pymathen for molecules. The relevant traceback:Per se this is not an issue as with molecules one is supposed to use only 1 kpoints. A possibility is to simply block the use of the
kpoints_parallel_distance
from the inputs for non periodic structures.An other question is how to treat 1D and 2D materials. From the error, it seems pymatgen will complain. Since the projection onto crystal lattice is a very cheap operation, the call to pymatgen structure can be dropped and a custom solution implemented.