Skip to content

Commit

Permalink
Add sample class
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-sarthak committed Sep 11, 2024
1 parent 9eb83aa commit 98052fb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/nomad_material_processing/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -1265,4 +1265,18 @@ class CleaningRecipe(Cleaning, Recipe, EntryData):
)


class Sample(CompositeSystem, EntryData):
"""
Contains information about the sample id, geometry, and reference to the material
system under `components` sub-section.
"""

components = CompositeSystem.components.m_copy()
components.section_def = SystemComponent

geometry = SubSection(
section_def=Geometry,
)


m_package.__init_metainfo__()

0 comments on commit 98052fb

Please sign in to comment.