Skip to content

Commit

Permalink
Refactored normalizer class.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauri-codes committed Apr 18, 2024
1 parent f392975 commit 06800da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soapnormalizer/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
except ImportError:
descriptors = None

from nomad.datamodel import EntryArchive
from nomad.normalizing.normalizer import SystemBasedNormalizer


class SoapNormalizer(SystemBasedNormalizer):
def normalize_system(self, system, is_representative):
def normalize_system(self, archive: EntryArchive, system, is_representative):
# Only store SOAP for representative system to start with
if not is_representative:
return True
Expand Down

0 comments on commit 06800da

Please sign in to comment.