Open tpurcell90 opened 1 week ago
@ansobolev Does this work for your things?
@tpurcell90 This seems to work for the defect workflow, thanks; however, as aims accepts anything in the species
line (it's just a label), I would rather use something like site.label
for site description in geometry.in
. This will allow more precise accounting for species defaults in heterogeneous calculations (something like adsorbate on the surface). But that's for sure open for discussion and not the blocking issue.
FHI-aims can accept an arbitrary label, but pymatgen requires a CompositionLike
or SpeciesLike
object for species, which requires an element to be present from what I can tell.
I think this is ready for review.
For writing geometry.in
pymatgen perspective does not matter, as the file is intended for FHI-aims; when reading the element can be defined by species defaults in control.in
, or element can be explicitly included (like site.element_site.label
) in the species label.
FHI-aims does not read spin from the species and that causes issues with magnetic calculations
Summary
Major changes:
Checklist
ruff
.mypy
.duecredit
@due.dcite
decorators to reference relevant papers by DOI (example)