Skip to content

Commit

Permalink
Rascal test is now working locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Dec 11, 2024
1 parent 54fc727 commit d634aca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion emle/_backends/_rascal.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, model):
except:
raise RuntimeError("Unable to create Rascal calculator!")

def calculate(atomic_numbers, xyz, forces=True):
def calculate(self, atomic_numbers, xyz, forces=True):
"""
Compute the energy and forces.
Expand Down
1 change: 0 additions & 1 deletion tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def test_deepmd(data):
deviation = float(f.read())


@pytest.mark.xfail(reason="Model file is currently corrupted.")
@pytest.mark.skipif(not has_rascal, reason="Rascal not installed.")
@pytest.mark.skipif(
socket.gethostname() != "porridge",
Expand Down

0 comments on commit d634aca

Please sign in to comment.