Skip to content

Commit

Permalink
Reference any composite system in the sample reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-sarthak committed Sep 16, 2024
1 parent acc30ac commit 8a45a55
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/nomad_measurements/transmission/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
SubSection,
)
from nomad.units import ureg
from nomad_material_processing.general import Sample

from nomad_measurements.utils import create_archive, merge_sections

Expand Down Expand Up @@ -108,8 +107,8 @@ class TransmissionSpectrophotometer(Instrument, EntryData):

class TransmissionSampleReference(CompositeSystemReference):
"""
Reference to the sample used in the transmission measurement. Additionally,
contains the thickness and orientation of the sample.
Extends `CompositeSystemReference` to include contains the thickness and orientation
of the sample used in the transmission.
"""

m_def = Section(
Expand All @@ -125,16 +124,6 @@ class TransmissionSampleReference(CompositeSystemReference):
)
)
)
reference = Quantity(
type=Sample,
description="""
A reference to the sample used.
""",
a_eln=ELNAnnotation(
component='ReferenceEditQuantity',
label='sample reference',
),
)
thickness = Quantity(
type=np.float64,
description="""
Expand Down

0 comments on commit 8a45a55

Please sign in to comment.