diff --git a/config_converter.py b/config_converter.py index b1a7fa4..b2f206a 100644 --- a/config_converter.py +++ b/config_converter.py @@ -59,11 +59,12 @@ def convert_config(old_base_dir, new_cam_base_dir, new_pipeline_base_dir, new_ba config_name = os.path.splitext(basename(old_config_file))[0] new_cam_config = OrderedDict({"name": config_name, - "prefix": prefix, + "source": prefix, "mirror_x": mirror_x, "mirror_y": mirror_y, "rotate": rotate, - "camera_calibration": new_calibration}) + "camera_calibration": new_calibration, + "source_type": "epics"}) cam_config_filename = os.path.join(new_cam_base_dir, config_name + ".json") with open(cam_config_filename, 'w') as outfile: