Skip to content

Commit 2542a26

Browse files
Add NEB schemas (#1123)
Add Approx/NEB schemas and update MigrationGraphDoc for compatibility with atomate2
1 parent ed3222e commit 2542a26

24 files changed

+1245
-82
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_install_hook_types: [pre-commit, commit-msg]
44

55
repos:
66
- repo: https://github.com/charliermarsh/ruff-pre-commit
7-
rev: v0.0.261
7+
rev: v0.12.0
88
hooks:
99
- id: ruff
1010
args:
@@ -22,7 +22,7 @@ repos:
2222
- id: black-jupyter
2323

2424
- repo: https://github.com/pre-commit/pre-commit-hooks
25-
rev: v4.4.0
25+
rev: v5.0.0
2626
hooks:
2727
- id: check-case-conflict
2828
- id: check-symlinks

emmet-builders/tests/test_mobility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.fixture(scope="session")
88
def ie_store(test_dir):
99
return JSONStore(
10-
test_dir / "mobility/builder_migration_graph_set.json", key="battery_id"
10+
test_dir / "mobility/builder_migration_graph_set.json.gz", key="battery_id"
1111
)
1212

1313

emmet-builders/tests/test_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ def test_chemsys_permutations(test_dir):
3333

3434

3535
def test_get_hop_cutoff(test_dir):
36-
spinel_mg = loadfn(test_dir / "mobility/migration_graph_spinel_MgMn2O4.json")
37-
nasicon_mg = loadfn(test_dir / "mobility/migration_graph_nasicon_MgV2(PO4)3.json")
36+
spinel_mg = loadfn(test_dir / "mobility/migration_graph_spinel_MgMn2O4.json.gz")
37+
nasicon_mg = loadfn(
38+
test_dir / "mobility/migration_graph_nasicon_MgV2(PO4)3.json.gz"
39+
)
3840

3941
# tests for "min_distance" algorithm
4042
assert_almost_equal(

0 commit comments

Comments
 (0)