Skip to content

Commit c2c3727

Browse files
committed
Restrict component class to PureSubstanceComponent
1 parent 9990fd0 commit c2c3727

File tree

1 file changed

+3
-0
lines changed
  • transmission/transmission_plugin/uv_vis_nir_transmission_plugin/src/uv_vis_nir_transmission

1 file changed

+3
-0
lines changed

transmission/transmission_plugin/uv_vis_nir_transmission_plugin/src/uv_vis_nir_transmission/schema.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ class TransmissionSample(CompositeSystem, EntryData):
141141
description='Crystallographic orientation of the sample.',
142142
a_eln={'component': 'StringEditQuantity'},
143143
)
144+
components = SubSection(
145+
section_def=PureSubstanceComponent,
146+
)
144147

145148
def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None:
146149
"""

0 commit comments

Comments
 (0)