Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
aalbino2 committed Aug 16, 2024
1 parent f9f1584 commit a54bbfa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/nomad_material_processing/vapor_deposition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class InsertReduction(Entity):
"""
The reduction that sometimes is used to lodge the substrate in the substrate holder position..
"""

name = Quantity(
type=str,
description="""
Expand All @@ -96,10 +97,12 @@ class InsertReduction(Entity):
section_def=Geometry,
)


class SubstrateHolderPosition(ArchiveSection):
"""
One casing position of the substrate holder.
"""

name = Quantity(
type=str,
description="""
Expand Down Expand Up @@ -144,6 +147,7 @@ class SubstrateHolder(Entity):
"""
The holder for the substrate.
"""

name = Quantity(
type=str,
description="""
Expand Down Expand Up @@ -172,7 +176,7 @@ class SubstrateHolder(Entity):
a_eln=ELNAnnotation(
component=ELNComponentEnum.NumberEditQuantity,
defaultDisplayUnit='micrometer',
),
),
)
outer_diameter = Quantity(
type=float,
Expand Down Expand Up @@ -212,16 +216,20 @@ class FilledSubstrateHolderPosition(SubstrateHolderPosition):
"""
One casing position of the filled substrate holder.
"""

substrate = SubSection(
section_def=CompositeSystemReference,
description="""
The substrate that is placed in this position.
""",
)


class FilledSubstrateHolder(SubstrateHolder):
"""
A substrate holder that is filled with substrate(s).
"""

substrate_holder = SubSection(
section_def=SubstrateHolder,
)
Expand Down

0 comments on commit a54bbfa

Please sign in to comment.