Skip to content
Merged
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
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ dependencies = [
"h5py>=3.15.1",
"numpy>=1.26,<3; python_version < '3.13'",
"numpy>=2.3.2,<3; python_version >= '3.13'",
"nvalchemi-toolkit-ops>=0.2.0",
"nvalchemi-toolkit-ops>=0.3.0",
"tables>=3.11.1",
"torch>=2",
"tqdm>=4.67",
]

[project.optional-dependencies]
test = [
"torch-sim-atomistic[io,symmetry]",
"torch-sim-atomistic[io,symmetry,vesin]",
"platformdirs>=4.0.0",
"psutil>=7.0.0",
"pymatgen>=2025.6.14",
Expand All @@ -47,6 +47,7 @@ test = [
"spglib>=2.6",
"vesin[torch]>=0.5.3",
]
vesin = ["vesin[torch]>=0.5.3"]
io = ["ase>=3.26", "phonopy>=2.37.0", "pymatgen>=2025.6.14"]
symmetry = ["moyopy>=0.7.8"]
mace = ["mace-torch>=0.3.15"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fix_symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def make_structure(name: str, repeats: int = REPEATS) -> Atoms:
"fcc": lambda: bulk("Cu", "fcc", a=3.6),
"hcp": lambda: bulk("Ti", "hcp", a=2.95, c=4.68),
"diamond": lambda: bulk("Si", "diamond", a=5.43),
"bcc": lambda: bulk("Al", "bcc", a=2 / np.sqrt(3), cubic=True),
Copy link
Copy Markdown
Member Author

@CompRhys CompRhys Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too dense lead to nbr explosion exceeding alchemiops padding heuristic

"bcc": lambda: bulk("Al", "bcc", a=4 / np.sqrt(3), cubic=True),
"p6bar": lambda: crystal(
"Si",
[(0.3, 0.1, 0.25)],
Expand Down Expand Up @@ -128,7 +128,7 @@ def forward(self, state: ts.SimState, **kwargs: object) -> dict[str, torch.Tenso
@pytest.fixture
def noisy_lj_model(model: LennardJonesModel) -> NoisyModelWrapper:
"""LJ model with noise added to forces/stress."""
return NoisyModelWrapper(model)
return NoisyModelWrapper(model, noise_scale=5e-1, concentration=1.0)


@pytest.fixture
Expand Down
Loading
Loading