Skip to content

Commit 2b695bb

Browse files
name fixes
1 parent a302a7a commit 2b695bb

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

pica/main.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def launch_plotter_utility():
7777
# scripts
7878
script_dir = os.path.dirname(os.path.abspath(__file__))
7979
plotter_path = os.path.join(
80-
script_dir, "Utilities", "PlotterUtil_GUI.py")
80+
script_dir, "utils", "PlotterUtil_GUI.py")
8181
Process(target=run_script_process, args=(plotter_path,)).start()
8282
except Exception as e:
8383
print(f"Failed to launch plotter: {e}")
@@ -118,34 +118,34 @@ class PICALauncherApp:
118118
LOGO_FILE = resource_path("assets/LOGO/UGC_DAE_CSR_NBG.jpeg")
119119
# This path is correct as it points to a directory
120120
MANUAL_FILE = resource_path("assets/Manuals")
121-
README_FILE = resource_path("README.md")
122-
LICENSE_FILE = resource_path("LICENSE")
123-
UPDATES_FILE = resource_path("docs/Change_Logs.md")
121+
README_FILE = resource_path("../README.md")
122+
LICENSE_FILE = resource_path("../LICENSE")
123+
UPDATES_FILE = resource_path("../docs/Change_Logs.md")
124124
REPO_URL = "https://github.com/prathameshnium/PICA-Python-Instrument-Control-and-Automation/tree/main"
125125
LOGO_SIZE = 140
126126

127127
SCRIPT_PATHS = {
128128
# Based on Updates.md, using the latest versions of scripts.
129-
"Delta Mode I-V Sweep": resource_path("Delta_mode_Keithley_6221_2182/IV_K6221_DC_Sweep_GUI.py"),
130-
"Delta Mode R-T": resource_path("Delta_mode_Keithley_6221_2182/Delta_RT_K6221_K2182_L350_T_Control_GUI.py"),
129+
"Delta Mode I-V Sweep": resource_path("keithley/delta_mode/IV_K6221_DC_Sweep_GUI.py"),
130+
"Delta Mode R-T": resource_path("keithley/delta_mode/Delta_RT_K6221_K2182_L350_T_Control_GUI.py"),
131131
"Delta Mode R-T (T_Sensing)": resource_path(
132-
"Delta_mode_Keithley_6221_2182/Delta_RT_K6221_K2182_L350_Sensing_GUI.py"),
133-
"K2400 I-V": resource_path("Keithley_2400/IV_K2400_GUI.py"),
134-
"K2400 R-T": resource_path("Keithley_2400/RT_K2400_L350_T_Control_GUI.py"),
135-
"K2400 R-T (T_Sensing)": resource_path("Keithley_2400/RT_K2400_L350_T_Sensing_GUI.py"),
136-
"K2400_2182 I-V": resource_path("Keithley_2400_Keithley_2182/IV_K2400_K2182_GUI.py"),
137-
"K2400_2182 R-T": resource_path("Keithley_2400_Keithley_2182/RT_K2400_K2182_T_Control_GUI.py"),
132+
"keithley/delta_mode/Delta_RT_K6221_K2182_L350_Sensing_GUI.py"),
133+
"K2400 I-V": resource_path("keithley/k2400/IV_K2400_GUI.py"),
134+
"K2400 R-T": resource_path("keithley/k2400/RT_K2400_L350_T_Control_GUI.py"),
135+
"K2400 R-T (T_Sensing)": resource_path("keithley/k2400/RT_K2400_L350_T_Sensing_GUI.py"),
136+
"K2400_2182 I-V": resource_path("keithley/k2400_2182/IV_K2400_K2182_GUI.py"),
137+
"K2400_2182 R-T": resource_path("keithley/k2400_2182/RT_K2400_K2182_T_Control_GUI.py"),
138138
"K2400_2182 R-T (T_Sensing)": resource_path(
139-
"Keithley_2400_Keithley_2182/RT_K2400_2182_L350_T_Sensing_GUI.py"),
140-
"K6517B I-V": resource_path("Keithley_6517B/High_Resistance/IV_K6517B_GUI.py"),
141-
"K6517B R-T": resource_path("Keithley_6517B/High_Resistance/RT_K6517B_L350_T_Control_GUI.py"),
142-
"K6517B R-T (T_Sensing)": resource_path("Keithley_6517B/High_Resistance/RT_K6517B_L350_T_Sensing_GUI.py"),
143-
"Pyroelectric Current": resource_path("Keithley_6517B/Pyroelectricity/Pyroelectric_K6517B_L350_GUI.py"),
144-
"Lakeshore Temp Control": resource_path("Lakeshore_350_340/T_Control_L350_RangeControl_GUI.py"),
145-
"Lakeshore Temp Monitor": resource_path("Lakeshore_350_340/T_Sensing_L350_GUI.py"),
146-
"LCR C-V Measurement": resource_path("LCR_Keysight_E4980A/CV_KE4980A_GUI.py"),
147-
"Plotter Utility": resource_path("Utilities/PlotterUtil_GUI.py"),
148-
"PICA Help": resource_path("README.md"),
139+
"keithley/k2400_2182/RT_K2400_2182_L350_T_Sensing_GUI.py"),
140+
"K6517B I-V": resource_path("keithley/k6517b/High_Resistance/IV_K6517B_GUI.py"),
141+
"K6517B R-T": resource_path("keithley/k6517b/High_Resistance/RT_K6517B_L350_T_Control_GUI.py"),
142+
"K6517B R-T (T_Sensing)": resource_path("keithley/k6517b/High_Resistance/RT_K6517B_L350_T_Sensing_GUI.py"),
143+
"Pyroelectric Current": resource_path("keithley/k6517b/Pyroelectricity/Pyroelectric_K6517B_L350_GUI.py"),
144+
"Lakeshore Temp Control": resource_path("lakeshore/T_Control_L350_RangeControl_GUI.py"),
145+
"Lakeshore Temp Monitor": resource_path("lakeshore/T_Sensing_L350_GUI.py"),
146+
"LCR C-V Measurement": resource_path("keysight/CV_KE4980A_GUI.py"),
147+
"Plotter Utility": resource_path("utils/PlotterUtil_GUI.py"),
148+
"PICA Help": resource_path("../README.md"),
149149
}
150150

151151
def __init__(self, root):

0 commit comments

Comments
 (0)