Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
python -m pip install --upgrade pip
mkdir -p ~/.abinit/pseudos
cp -r tests/test_data/abinit/pseudos/ONCVPSP-PBE-SR-PDv0.4 ~/.abinit/pseudos
uv pip install .[strict,strict-forcefields,tests,abinit,approxneb]
uv pip install .[strict,strict-forcefields,tests,abinit,approxneb,aims]
uv pip install torch-runstats torch_dftd
uv pip install --no-deps nequip==0.5.6

Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
test-notebooks-and-ase:
# prevent this action from running on forks
if: github.repository == 'materialsproject/atomate2'

# It seems like anything torch-dependent and tblite can't be installed in the same environment
# without the tblite tests failing in CI, see, e.g.:
# https://github.com/tblite/tblite/issues/116
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
python -m pip install --upgrade pip
mkdir -p ~/.abinit/pseudos
cp -r tests/test_data/abinit/pseudos/ONCVPSP-PBE-SR-PDv0.4 ~/.abinit/pseudos
uv pip install .[strict,strict-forcefields,tests,abinit]
uv pip install .[strict,strict-forcefields,tests,abinit,aims]
uv pip install torch-runstats
uv pip install --no-deps nequip==0.5.6

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dependencies = [

[project.optional-dependencies]
abinit = ["abipy>=0.9.3"]
aims = ["pymatgen-io-aims>=0.0.3"]
amset = ["amset>=0.4.15", "pydash"]
cclib = ["cclib"]
mp = ["mp-api>=0.37.5"]
Expand Down
6 changes: 3 additions & 3 deletions tests/aims/species_dir/light/25_Mn_default
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# hydro 5 g 10.8
# hydro 3 s 3.8
# "Third tier" - improvements: -1.38 meV to -0.13 meV
# hydro 5 p 8.6 -1.38 meV
# hydro 6 h 16 -0.73 meV
# hydro 3 d 10.8 -0.43 meV
# hydro 5 p 8.6
# hydro 6 h 16
# hydro 3 d 10.8
# hydro 5 f 6.8 # forced: -0.26 meV
# hydro 5 g 6.4 # forced: -0.21 meV
# hydro 5 s 9.8 # forced: -0.13 meV
Expand Down
12 changes: 3 additions & 9 deletions tests/aims/test_flows/test_magnetism.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@
cwd = os.getcwd()


@pytest.mark.skip(
reason="pymatgen 2024.11.13 broke this test with ValueError: Structure contains "
"magnetic moments on both magmom site properties and spin species properties. This "
"is ambiguous. Remove one or the other."
)
# TODO re-attempt to fix and unskip this test
def test_magnetic_orderings(mock_aims, tmp_path, species_dir, mg2mn4o8):
def test_magnetic_orderings(mock_aims, species_dir, mg2mn4o8):
parameters = {
"k_grid": [2, 2, 2],
"species_dir": (species_dir / "light").as_posix(),
Expand Down Expand Up @@ -50,9 +44,9 @@ def test_magnetic_orderings(mock_aims, tmp_path, species_dir, mg2mn4o8):

flow = maker.make(mg2mn4o8)

os.chdir(tmp_path)
# os.chdir(tmp_path)
responses = run_locally(flow, create_folders=True, ensure_success=True)
os.chdir(cwd)
# os.chdir(cwd)

final_output = responses[flow.jobs[-1].uuid][1].output

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading