From 998434b5452f950b7958b3f9390e1d15de7e3672 Mon Sep 17 00:00:00 2001 From: ceds92 Date: Fri, 10 May 2024 10:44:48 +1000 Subject: [PATCH] Remove unused configuration settings --- scanbot/server/scanbot_config.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/scanbot/server/scanbot_config.py b/scanbot/server/scanbot_config.py index 86250c5..25cbc68 100644 --- a/scanbot/server/scanbot_config.py +++ b/scanbot/server/scanbot_config.py @@ -8,28 +8,28 @@ class scanbot_config(): def __init__(self, module_dir="./"): self.config = OrderedDict( # key : [label, description, category, default value] - { 'zuliprc' : ['Zulip RC File', 'Upload your Zulip rc file. See https://zulip.com/api/running-bots', 'external', ''], - 'zulip_stream' : ['Zulip Stream', 'Default stream when sending messages via Zulip', 'external', 'scanbot'], - 'zulip_topic' : ['Zulip Topic', 'Default topic when sending messages via Zulip', 'external', 'live-stream'], - 'upload_method' : ['Upload Type', 'Upload generated pngs via zulip or firebase', 'external', 'no_upload'], - 'path' : ['Path', 'Path to save data', 'external', 'scanbot_data'], - 'firebase_credentials' : ['Firebase Credentials', 'Credentials for firebase (if upload_method=firebase)', 'external', ''], - 'firebase_storage_bucket' : ['Firebase Bucket', 'Firebase storage bucket. Firebase path uses "path" key', 'external', ''], + { # 'zuliprc' : ['Zulip RC File', 'Upload your Zulip rc file. See https://zulip.com/api/running-bots', 'external', ''], + # 'zulip_stream' : ['Zulip Stream', 'Default stream when sending messages via Zulip', 'external', 'scanbot'], + # 'zulip_topic' : ['Zulip Topic', 'Default topic when sending messages via Zulip', 'external', 'live-stream'], + # 'upload_method' : ['Upload Type', 'Upload generated pngs via zulip or firebase', 'external', 'no_upload'], + # 'path' : ['Path', 'Path to save data', 'external', 'scanbot_data'], + # 'firebase_credentials' : ['Firebase Credentials', 'Credentials for firebase (if upload_method=firebase)', 'external', ''], + # 'firebase_storage_bucket' : ['Firebase Bucket', 'Firebase storage bucket. Firebase path uses "path" key', 'external', ''], 'port_list' : ['TCP Ports', 'Comma delimited ports (nanonis => Main Options => TCP Programming Interface)', 'tcp', '6501,6502,6503,6504'], 'ip' : ['IP Address', 'IP address of the pc controlling nanonis', 'tcp', '127.0.0.1'], 'topo_basename' : ['Topo basename', 'Basename for .sxm files. Leave blank to use current value in nanonis', 'nanonis', ''], - 'scp_path' : ['SCP Path', 'SCP generated pngs to user@clouddatabase:path. Leave blank to turn off', 'external', ''], + # 'scp_path' : ['SCP Path', 'SCP generated pngs to user@clouddatabase:path. Leave blank to turn off', 'external', ''], 'safe_current' : ['Crash Current (A)', 'When the current goes above this threhold the tip is considered crashed', 'safety', '5e-9'], 'safe_retract_V' : ['Crash Retract Voltage (V)', 'Voltage (V) applied to the Z piezo when retracting tip if a crash is detected', 'safety', '200'], 'safe_retract_F' : ['Crash Retract Frequency (Hz)', 'Frequency (Hz) applied to the Z piezo when retracting tip if a crash is detected', 'safety', '1500'], - 'piezo_z_max_V' : ['Max Z Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the Z piezo', 'safety', '200'], - 'piezo_z_min_V' : ['Min Z Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the Z piezo', 'safety', '0'], - 'piezo_xy_max_V' : ['Max XY Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the XY piezos', 'safety', '200'], - 'piezo_xy_min_V' : ['Min XY Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the XY piezos', 'safety', '0'], - 'piezo_z_max_F' : ['Max Z Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the Z piezo', 'safety', '5000'], - 'piezo_z_min_F' : ['Min Z Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the Z piezo', 'safety', '500'], - 'piezo_xy_max_F' : ['Max XY Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the XY piezos', 'safety', '5000'], - 'piezo_xy_min_F' : ['Min XY Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the XY piezos', 'safety', '500'], + # 'piezo_z_max_V' : ['Max Z Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the Z piezo', 'safety', '200'], + # 'piezo_z_min_V' : ['Min Z Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the Z piezo', 'safety', '0'], + # 'piezo_xy_max_V' : ['Max XY Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the XY piezos', 'safety', '200'], + # 'piezo_xy_min_V' : ['Min XY Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the XY piezos', 'safety', '0'], + # 'piezo_z_max_F' : ['Max Z Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the Z piezo', 'safety', '5000'], + # 'piezo_z_min_F' : ['Min Z Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the Z piezo', 'safety', '500'], + # 'piezo_xy_max_F' : ['Max XY Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the XY piezos', 'safety', '5000'], + # 'piezo_xy_min_F' : ['Min XY Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the XY piezos', 'safety', '500'], # 'hk_commands' : ['0'] # Flag to look for customised commands in hk_commands 'nanonis_version' : ['Nanonis Version Number', 'Version of the host nanonis. See nanonis > help > info and take the RT Engine version number. Defaults to the latest version', 'tcp', '99999999'], })