diff --git a/ofm_config_full.json b/ofm_config_full.json index 2be08676..5b4d5f0f 100644 --- a/ofm_config_full.json +++ b/ofm_config_full.json @@ -1,22 +1,22 @@ { "things": { - "/camera/": { + "camera": { "class": "openflexure_microscope_server.things.camera.picamera:StreamingPiCamera2", "kwargs": { "camera_board": "picamera_v2" } }, - "/stage/": "openflexure_microscope_server.things.stage.sangaboard:SangaboardThing", - "/autofocus/": "openflexure_microscope_server.things.autofocus:AutofocusThing", - "/camera_stage_mapping/": "openflexure_microscope_server.things.camera_stage_mapping:CameraStageMapper", - "/system/": "openflexure_microscope_server.things.system:OpenFlexureSystem", - "/smart_scan/": { + "stage": "openflexure_microscope_server.things.stage.sangaboard:SangaboardThing", + "autofocus": "openflexure_microscope_server.things.autofocus:AutofocusThing", + "camera_stage_mapping": "openflexure_microscope_server.things.camera_stage_mapping:CameraStageMapper", + "system": "openflexure_microscope_server.things.system:OpenFlexureSystem", + "smart_scan": { "class": "openflexure_microscope_server.things.smart_scan:SmartScanThing", "kwargs": { "scans_folder": "/var/openflexure/scans/" } }, - "/stage_measure/":"openflexure_microscope_server.things.stage_measure:RangeofMotionThing" + "stage_measure":"openflexure_microscope_server.things.stage_measure:RangeofMotionThing" }, "settings_folder": "/var/openflexure/settings/", "log_folder": "/var/openflexure/logs/" diff --git a/ofm_config_manual.json b/ofm_config_manual.json index 03cae49e..c8b878ec 100644 --- a/ofm_config_manual.json +++ b/ofm_config_manual.json @@ -1,10 +1,10 @@ { "things": { - "/camera/": { + "camera": { "class": "openflexure_microscope_server.things.camera.opencv:OpenCVCamera", "kwargs": {"camera_index": 0} }, - "/system/": "openflexure_microscope_server.things.system:OpenFlexureSystem" + "system": "openflexure_microscope_server.things.system:OpenFlexureSystem" }, "settings_folder": "./openflexure/settings/", "log_folder": "./openflexure/logs/" diff --git a/ofm_config_simulation.json b/ofm_config_simulation.json index 4ea1a7ec..a28e71c9 100644 --- a/ofm_config_simulation.json +++ b/ofm_config_simulation.json @@ -1,11 +1,11 @@ { "things": { - "/camera/": "openflexure_microscope_server.things.camera.simulation:SimulatedCamera", - "/stage/": "openflexure_microscope_server.things.stage.dummy:DummyStage", - "/autofocus/": "openflexure_microscope_server.things.autofocus:AutofocusThing", - "/camera_stage_mapping/": "openflexure_microscope_server.things.camera_stage_mapping:CameraStageMapper", - "/system/": "openflexure_microscope_server.things.system:OpenFlexureSystem", - "/smart_scan/": { + "camera": "openflexure_microscope_server.things.camera.simulation:SimulatedCamera", + "stage": "openflexure_microscope_server.things.stage.dummy:DummyStage", + "autofocus": "openflexure_microscope_server.things.autofocus:AutofocusThing", + "camera_stage_mapping": "openflexure_microscope_server.things.camera_stage_mapping:CameraStageMapper", + "system": "openflexure_microscope_server.things.system:OpenFlexureSystem", + "smart_scan": { "class": "openflexure_microscope_server.things.smart_scan:SmartScanThing", "kwargs": { "scans_folder": "./openflexure/scans/"