exa.core.util.migration.migrate_observation_set_to_settings_refactoring

exa.core.util.migration.migrate_observation_set_to_settings_refactoring#

migrate_observation_set_to_settings_refactoring(observation_set_id, finalize=True)#

Loads an existing observation set, and modifies it to the new settings tree structure.

NOTE: you must initialize the station-control and experiment config for the same station the observations belong to before using this function.

Parameters:
  • observation_set_id (UUID | str) – The id of the set to migrate to the new structure

  • finalize (bool) – Determines whether to automatically finalize the set. Default = True.

Return type:

UUID