File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
ml_peg/calcs/molecular_crystal/X23 Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1111import numpy as np
1212import pytest
1313
14- from ml_peg .calcs .utils .utils import get_benchmark_data
14+ from ml_peg .calcs .utils .utils import download_s3_data
1515from ml_peg .models .get_models import load_models
1616from ml_peg .models .models import current_models
1717
@@ -41,7 +41,13 @@ def test_lattice_energy(mlip: tuple[str, Any]) -> None:
4141 calc = model .add_d3_calculator (calc )
4242
4343 # download X23 dataset
44- lattice_energy_dir = get_benchmark_data ("lattice_energy.zip" ) / "lattice_energy"
44+ lattice_energy_dir = (
45+ download_s3_data (
46+ key = "inputs/molecular_crystal/X23/X23.zip" ,
47+ filename = "lattice_energy.zip" ,
48+ )
49+ / "lattice_energy"
50+ )
4551
4652 with open (lattice_energy_dir / "list" ) as f :
4753 systems = f .read ().splitlines ()
You can’t perform that action at this time.
0 commit comments