diff --git a/csaxs_bec/bec_ipython_client/startup/pre_startup.py b/csaxs_bec/bec_ipython_client/startup/pre_startup.py index 4ba6343..c5b433a 100644 --- a/csaxs_bec/bec_ipython_client/startup/pre_startup.py +++ b/csaxs_bec/bec_ipython_client/startup/pre_startup.py @@ -20,13 +20,13 @@ def extend_command_line_args(parser): return parser -def get_config() -> ServiceConfig: - """ - Create and return the ServiceConfig for the plugin repository - """ - deployment_path = os.path.dirname(os.path.dirname(os.path.dirname(csaxs_bec.__file__))) - files = os.listdir(deployment_path) - if "bec_config.yaml" in files: - return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml")) - else: - return ServiceConfig(redis={"host": "localhost", "port": 6379}) +# def get_config() -> ServiceConfig: +# """ +# Create and return the ServiceConfig for the plugin repository +# """ +# deployment_path = os.path.dirname(os.path.dirname(os.path.dirname(csaxs_bec.__file__))) +# files = os.listdir(deployment_path) +# if "bec_config.yaml" in files: +# return ServiceConfig(config_path=os.path.join(deployment_path, "bec_config.yaml")) +# else: +# return ServiceConfig(redis={"host": "localhost", "port": 6379}) diff --git a/csaxs_bec/device_configs/optics_hutch.yaml b/csaxs_bec/device_configs/optics_hutch.yaml index 4a0feae..2683a8d 100644 --- a/csaxs_bec/device_configs/optics_hutch.yaml +++ b/csaxs_bec/device_configs/optics_hutch.yaml @@ -79,6 +79,8 @@ xbpm2x: - 200 port: 5000 sign: 1 + # precision: 3 + # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false @@ -95,6 +97,8 @@ xbpm2y: - 200 port: 5000 sign: 1 + # precision: 3 + # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false @@ -111,6 +115,8 @@ cu_foilx: - 200 port: 5000 sign: 1 + # precision: 3 + # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false @@ -127,6 +133,8 @@ scinx: - 200 port: 5000 sign: 1 + # precision: 3 + # tolerance: 0.005 enabled: true onFailure: buffer readOnly: false diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..df9fe2d --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +jjakjda