Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Aug 20, 2024
1 parent fb078b9 commit bfcc496
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_soapnormalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
import json

from nomad.datamodel import EntryArchive
from soapnormalizer import SoapNormalizer
import runschema # pylint: disable=unused-import
from nomad.normalizing import normalizers


def test_soap():
archive = EntryArchive.m_from_dict(json.load(open('tests/data/vasp.archive.json')))
SoapNormalizer(only_representatives=True).normalize(archive)
for normalizer in normalizers:
normalizer(archive).normalize()

assert archive.run[-1].system[-1].descriptors.soap is not None

0 comments on commit bfcc496

Please sign in to comment.