Commit 7544fd73 authored by Matias Guijarro's avatar Matias Guijarro

make BasicScanSaving the default SCAN_SAVING class

parent 2f2e80c1
Pipeline #21163 failed with stages
in 38 minutes and 40 seconds
......@@ -434,7 +434,10 @@ class Session:
scan_saving_config = self.config.root.get("scan_saving", {})
scan_saving_class_name = scan_saving_config.get("class")
scan_saving_class = getattr(scan_saving, scan_saving_class_name)
if scan_saving_class_name is not None:
scan_saving_class = getattr(scan_saving, scan_saving_class_name)
else:
scan_saving_class = None
self._set_scan_saving_class(scan_saving_class)
env_dict["ALIASES"] = global_map.aliases
......
......@@ -7,7 +7,6 @@ scan_saving:
# test session, using current_session.enable_esrf_data_policy()
# and to come back to the default (no policy) with
# current_session.disable_esrf_data_policy()
class: BasicScanSaving
beamline: id00
metadata_manager_tango_device: id00/metadata/test
metadata_experiment_tango_device: id00/metaexp/test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment