diff --git a/src/nomad_polymerization_reactions/schema_packages/polymerization.py b/src/nomad_polymerization_reactions/schema_packages/polymerization.py index b6ec37b..9f068f1 100644 --- a/src/nomad_polymerization_reactions/schema_packages/polymerization.py +++ b/src/nomad_polymerization_reactions/schema_packages/polymerization.py @@ -12,7 +12,7 @@ import numpy as np from nomad.config import config -from nomad.datamodel.data import ArchiveSection, Schema +from nomad.datamodel.data import ArchiveSection, Schema, Section from nomad.datamodel.metainfo.annotations import ELNAnnotation, ELNComponentEnum from nomad.datamodel.metainfo.basesections import ( Activity, @@ -83,6 +83,9 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None: class PolymerizationReaction(Activity, Schema): + m_def = Section( + description='Schema for polymerization reaction.', + ) monomers = SubSection( description='Monomers used in the polymerization reaction.', section_def=Monomer,