exa.core.observation_set_utils.create_observation_set#
- create_observation_set(observations, observation_set_type)#
Create an observation set and return the ID.
Only creates the set, the observations have to already exist in the DB.
- Parameters:
observations (Iterable[ObservationLite]) – Observations to include in the newly created observation set. If
observationsis empty, an empty observation set will be created.observation_set_type (ObservationSetType) – Specifies which observation set type to create.
- Returns:
The ID of the created observation set.
- Return type: