From bfcc496faec135ea554194437a13697b28b6111a Mon Sep 17 00:00:00 2001 From: Alvin Noe Ladines Date: Tue, 20 Aug 2024 13:02:15 +0200 Subject: [PATCH] Fix test --- tests/test_soapnormalizer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_soapnormalizer.py b/tests/test_soapnormalizer.py index 118af35..9e872b6 100644 --- a/tests/test_soapnormalizer.py +++ b/tests/test_soapnormalizer.py @@ -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