|
25 | 25 | EV_TO_KCAL_PER_MOL = units.mol / units.kcal |
26 | 26 |
|
27 | 27 | # Dataset constants |
28 | | -DATA_ARCHIVE = "Wiggle150" |
29 | | -DATA_SUBDIR = "wiggle150-structures" |
30 | | -DATA_FILENAME = "ct5c00015_si_003.xyz" |
31 | 28 | MOLECULE_ORDER = ("ado", "bpn", "efa") |
32 | 29 |
|
33 | 30 |
|
@@ -68,8 +65,7 @@ def load_structures(data_dir: Path) -> dict[str, dict[str, Iterable[Atoms]]]: |
68 | 65 | dict |
69 | 66 | Mapping of molecule id to ground state and conformers. |
70 | 67 | """ |
71 | | - dataset_path = data_dir / DATA_FILENAME |
72 | | - structures = read(dataset_path, ":") |
| 68 | + structures = read(data_dir / "ct5c00015_si_003.xyz", ":") |
73 | 69 |
|
74 | 70 | molecules: dict[str, dict[str, list[Atoms]]] = { |
75 | 71 | mol: {"ground": None, "conformers": []} for mol in MOLECULE_ORDER |
@@ -193,10 +189,10 @@ def test_wiggle150(mlip: tuple[str, Any]) -> None: |
193 | 189 | # Download data |
194 | 190 | data_dir = ( |
195 | 191 | download_s3_data( |
196 | | - key=f"inputs/molecular/{DATA_ARCHIVE}/{DATA_SUBDIR}.zip", |
197 | | - filename=f"{DATA_ARCHIVE}.zip", |
| 192 | + key="inputs/molecular/Wiggle150/Wiggle150.zip", |
| 193 | + filename="Wiggle150.zip.zip", |
198 | 194 | ) |
199 | | - / DATA_SUBDIR |
| 195 | + / "wiggle150-structures" |
200 | 196 | ) |
201 | 197 |
|
202 | 198 | conformers = benchmark_wiggle150(calc, model_name, data_dir) |
|
0 commit comments