Replies: 1 comment
-
Hello, @mugeunson. Typically an-isotropic supercell does not cause such problem. By a first look (haven't carefully looked so please correct me if I'm wrong), I highly suspect that is due to the behavior of StructureMathcer when computing sites. (See https://github.com/materialsproject/pymatgen/blob/0e65d35ae0b1df964639a48067b1a525979eec84/src/pymatgen/analysis/structure_matcher.py#L419C1-L446C36, and documentations of pmg: https://pymatgen.org/pymatgen.analysis.html#pymatgen.analysis.structure_matcher.StructureMatcher) To the best of my knowledge, pymatgen's composition object may only hosts Element rather than Species. You can try changing species strings into their corresponding elements. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, smol developers and others.
I'm having trouble applying the “Creating a basic Cluster Expansion” example in my case. In my case, I was wondering about the arrangement of lithium and vacancy, so only Li and vacancies are active.
below is the code:
I'm having an issue when I put supercell_size = 'O2-': "ValueError: Invalid argument for supercell_size." and put supercell_size = ('Mn4+', 'O2-'): "ZeroDivisionError: float division by zero"
I think the training data set is a problem.
My training data is a 1x2x2 supercell of primitive cell.
Is there a problem if the cells in the training data are anisotropic supercells of primitive cells?
Any help in resolving this issue would be greatly appreciated.
entries.json
prim.json
Beta Was this translation helpful? Give feedback.
All reactions