Update config files to use names not paths
This commit is contained in:
parent
5eea78cac7
commit
a0b8a71477
3 changed files with 15 additions and 15 deletions
|
|
@ -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/"
|
||||
|
|
|
|||
|
|
@ -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/"
|
||||
|
|
|
|||
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue