Topics for next meeting #57
Replies: 2 comments
-
Thanks for the good discussion points @aalbino2! Let's discuss these in the data modeling meeting on 2.8.2023. Here are my quick thoughts on them now:
They are intentionally duplicated as one just lists elements while the other is only filled if the fractions are known. These will both move into the topology section.
Okay, for now I'm adding the following into MR 1385: class SectionReference(ArchiveSection):
'''
A section used for referencing another section.
'''
name = Quantity(
type=str,
description='A short descriptive name for the role of this reference.',
a_eln=ELNAnnotation(
component='StringEditQuantity',
)
)
reference = Quantity(
type=ArchiveSection,
description='A reference to a NOMAD archive section.',
a_eln=ELNAnnotation(
component='ReferenceEditQuantity',
label='Section Reference',
),
)
class ActivityReference(SectionReference):
'''
A section used for referencing an Activity.
'''
reference = Quantity(
type=Activity,
description='A reference to a NOMAD `Activity` entry.',
a_eln=ELNAnnotation(
component='ReferenceEditQuantity',
label='Activity Reference',
),
)
class EntityReference(SectionReference):
'''
A section used for referencing an Entity.
'''
reference = Quantity(
type=Entity,
description='A reference to a NOMAD `Entity` entry.',
a_eln=ELNAnnotation(
component='ReferenceEditQuantity',
label='Entity Reference',
),
)
class Experiment(Activity):
'''
A section for grouping activities together into an experiment.
'''
activities = SubSection(
section_def=ActivityReference,
description='References to the activities that make up the experiment.',
repeats=True,
)
class Collection(Entity):
'''
A section for grouping entities together into a collection.
'''
entities = SubSection(
section_def=EntityReference,
description='References to the entities that make up the collection.',
repeats=True,
)
Let's discuss it in the data modeling meeting next week but instinctively I would say the substrate should update itself in this case.
That was my intention, yes.
We could add a field |
Beta Was this translation helpful? Give feedback.
-
Other points:
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
I've run through several things I would like to discuss with you guys and I list them here:
spamming tags: @hampusnasstrom @Pepe-Marquez @budschi
Beta Was this translation helpful? Give feedback.
All reactions