Skip to content

Commit

Permalink
Merge branch 'materialsvirtuallab:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kenko911 authored Jun 23, 2024
2 parents 16abc38 + cfd4874 commit 6aaad51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/models/test_tensornet.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def test_model(self, graph_MoS):
os.remove("model.pt")
os.remove("model.json")
os.remove("state.pt")
model = TensorNet(is_intensive=False, equivariance_invariance_group="SO(3)")
assert torch.numel(output) == 1

def test_exceptions(self):
with pytest.raises(ValueError, match="Invalid activation type"):
Expand Down

0 comments on commit 6aaad51

Please sign in to comment.