Skip to content

Commit d982c55

Browse files
committed
Fix model loading.
1 parent e8a7506 commit d982c55

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ follows:
8585
```python
8686
import matgl
8787

88-
potential = matgl.load_model("TensorNet-MatPES-PBE-v2025.2-PES")
88+
potential = matgl.load_model("TensorNet-PES-MatPES-PBE-2025.2")
8989
```
9090

9191
Model names follow the format `<architecture>-<dataset>-<dataset-version>-PES`.
@@ -95,7 +95,7 @@ These FPs can be used easily with the [MatCalc] package to rapidly compute prope
9595
```python
9696
from matcalc.elasticity import ElasticityCalc
9797

98-
calculator = ElasticityCalc("TensorNet-MatPES-PBE-v2025.2-PES")
98+
calculator = ElasticityCalc("TensorNet-PES-MatPES-PBE-2025.2")
9999
calculator.calc(structure)
100100
```
101101

assets/Using Pre-Trained Models with MatCalc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from matcalc.elasticity import ElasticityCalc
66
from matgl.ext.ase import PESCalculator
77
from pymatgen.ext.matproj import MPRester
88

9-
potential = matgl.load_model("TensorNet-MatPES-PBE-v2025.2-PES")
9+
potential = matgl.load_model("TensorNet-PES-MatPES-PBE-2025.2")
1010
ase_calc = PESCalculator(potential)
1111
calculator = ElasticityCalc(ase_calc)
1212
```

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ MatPES PBE 2025.2 as follows:
5454
```python
5555
import matgl
5656

57-
potential = matgl.load_model("TensorNet-MatPES-PBE-v2025.2-PES")
57+
potential = matgl.load_model("TensorNet-PES-MatPES-PBE-2025.2")
5858
```
5959

6060
These FPs can be used easily with the [MatCalc] package to rapidly compute properties. For example:

pages/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
-0.80624803, 30.26332391, -29.08163294
7272
],
7373
74-
"matpes_id": "matpes-2025.2_30496_38", // Unique MatPES identifier for this structure.
74+
"matpes_id": "matpes-20240214_30496_38", // Unique MatPES identifier for this structure.
7575
7676
"bandgap": 0.0, // DFT-calculated electronic band gap (eV).
7777
"functional": "r2SCAN", // DFT exchange-correlation functional used.

0 commit comments

Comments
 (0)