Skip to content

Commit

Permalink
Add section m_def for PolymerizationReaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-sarthak committed Aug 16, 2024
1 parent 980ebaa commit bb072bf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit bb072bf

Please sign in to comment.