Skip to content

Commit 040fcf7

Browse files
🐳 chore(corrected some paths):
1 parent d164c9b commit 040fcf7

2 files changed

Lines changed: 27 additions & 16 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow builds a standalone Python executable for Windows using Nuitka
22
# and attaches it to a new GitHub Release.
33

4-
name: Build Python Executable with Nuitka
4+
name: Build Python Executable
55

66
on:
77
release:
@@ -37,7 +37,7 @@ jobs:
3737
# We only need tk-inter as a hint for the standard library.
3838
enable-plugins: "tk-inter"
3939

40-
script-name: PICA_Launcher_V4.py
40+
script-name: PICA_Launcher_V5.py
4141

4242
# The 'deployment' flag handles a one-file build.
4343
deployment: true
@@ -49,15 +49,18 @@ jobs:
4949

5050
# These directories MUST exist in your GitHub repository and not be empty.
5151
include-data-dir: |
52-
_assets=_assets
53-
Delta_mode=Delta_mode
54-
Keithley_2400=Keithley_2400
55-
Keithley_2400_Keithley_2182=Keithley_2400_Keithley_2182
56-
Keithley_6517B=Keithley_6517B
57-
LCR_Keysight_E4980A=LCR_Keysight_E4980A
58-
Lakeshore_350_340=Lakeshore_350_340
59-
Lock_in_amplifier=Lock_in_amplifier
60-
Utilities=Utilities
52+
_assets=_assets/
53+
Delta_mode_Keithley_6221_2182A=Delta_mode_Keithley_6221_2182A/
54+
Keithley_2400=Keithley_2400/
55+
Keithley_2400_Keithley_2182=Keithley_2400_Keithley_2182/
56+
Keithley_6517B=Keithley_6517B/
57+
LCR_Keysight_E4980A=LCR_Keysight_E4980A/
58+
Lakeshore_350_340=Lakeshore_350_340/
59+
Lock_in_amplifier=Lock_in_amplifier/
60+
Utilities=Utilities/
61+
include-data-files: |
62+
LICENSE=LICENSE
63+
README.md=README.md
6164
6265
# We explicitly tell Nuitka to put the output here.
6366
output-dir: build
@@ -68,8 +71,7 @@ jobs:
6871
repo_token: ${{ secrets.GITHUB_TOKEN }}
6972
# --- CORRECTED FILE PATH BELOW ---
7073
# The file is inside the 'build' directory we specified above.
71-
file: build/PICA_Launcher_V4.exe
74+
file: build/PICA_Launcher_V5.exe
7275
asset_name: PICA_Launcher-Windows-${{ github.ref_name }}.exe
7376
tag: ${{ github.ref }}
7477
overwrite: true
75-

PICA_Launcher_V5.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,27 @@ class PICALauncherApp:
8383
FONT_INFO = ('Segoe UI', FONT_SIZE_BASE)
8484
LOGO_FILE = resource_path("_assets/LOGO/UGC_DAE_CSR.jpeg")
8585
MANUAL_FILE = resource_path("_assets/Manuals")
86-
README_FILE = resource_path("PICA_README.md")
86+
c README_FILE = resource_path("PICA_README.md")
87+
README_FILE = resource_path("README.md")
8788
LICENSE_FILE = resource_path("LICENSE")
8889
LOGO_SIZE = 140
8990

9091
SCRIPT_PATHS = {
9192
"Delta Mode I-V Sweep": resource_path("Delta_mode_Keithley_6221_2182A/Delta_Mode_IV_GUI_V1.py"),
9293
"Delta Mode R-T (Active)": resource_path("Delta_mode_Keithley_6221_2182A/Delta_Mode_Active_Temp_Control_V1.py"),
94+
"Delta Mode I-V Sweep": resource_path("Delta_mode_Keithley_6221_2182A/K6221_DC_Sweep_V7.py"),
95+
"Delta Mode R-T (Active)": resource_path("Delta_mode_Keithley_6221_2182A/Delta_Mode_Active_Temp_Control_V2.py"),
9396
"Delta Mode R-T (Passive)": resource_path("Delta_mode_Keithley_6221_2182A/Delta_Lakeshore_Frontend_Passive_V1.py"),
94-
"K2400 I-V": resource_path("Keithley_2400/Frontend_IV_2400_V3"),
97+
"K2400 I-V": resource_path("Keithley_2400/Frontend_IV_2400_V3.py"),
9598
"K2400 R-T": resource_path("Keithley_2400/Frontend_Keithley_2400_Lakeshore_350_V_vs_T_V1.py"),
9699
"K2400_2182 I-V": resource_path("Keithley_2400_Keithley_2182/IV_Sweep_Keithley_2182.py"),
97100
"K2400_2182 R-T": resource_path("Keithley_2400_Keithley_2182/VT_Curve_IV_Sweep_Keithley_2400_2182_Lakeshore_350.py"),
98101
"K6517B I-V": resource_path("Keithley_6517B/High_Resistance/Keithley_6517B_IV_Frontend_V9.py"),
99-
"K6517B Resistivity": resource_path("Keithley_6517B\High_Resistance/6517B_high_resistance_lakeshore_RT_Frontend_V11p2_5Always.py"),
102+
"K6517B Resistivity": resource_path("Keithley_6517B/High_Resistance/6517B_high_resistance_lakeshore_RT_Frontend_V11p2_5Always.py"),
103+
"K6517B R-T (Active)": resource_path("Keithley_6517B/High_Resistance/6517B_high_resistance_lakeshore_RT_Frontend_V11p2_5Always.py"),
100104
"K6517B R-T (Passive)": resource_path("Keithley_6517B/High_Resistance/6517B_high_resistance_lakeshore_RT_Frontend_V12_Passive.py"),
101105
"Pyroelectric Current": resource_path("Keithley_6517B\Pyroelectricity\Pyroelectric_Measurement_GUI_V1.py"),
106+
"Pyroelectric Current": resource_path("Keithley_6517B/Pyroelectricity/Pyroelectric_Measurement_GUI_V1.py"),
102107
"Lakeshore Temp Control": resource_path("Lakeshore_350_340/lakeshore350_temp_ramp_Frontend_V4.py"),
103108
"Lakeshore Temp Monitor": resource_path("Lakeshore_350_340/lakeshore350_passive_monitor_Frontend_V1.py"),
104109
"LCR C-V Measurement": resource_path("LCR_Keysight_E4980A/LCR_CV.py"),
@@ -237,10 +242,14 @@ def create_launcher_panel(self, parent):
237242
ttk.Button(mid_res_frame2, text="📁", style='Icon.TButton', command=lambda: self.open_script_folder("Keithley_2400_Keithley_2182")).grid(row=0, column=1, rowspan=2, sticky='ns')
238243

239244
high_res_frame = ttk.LabelFrame(left_col, text='High Resistance (Keithley 6517B)'); high_res_frame.pack(fill='x', expand=True, pady=GROUP_PAD_Y)
245+
high_res_frame = ttk.LabelFrame(right_col, text='High Resistance (Keithley 6517B)'); high_res_frame.pack(fill='x', expand=True, pady=GROUP_PAD_Y)
240246
high_res_frame.columnconfigure(0, weight=1)
241247
self._create_launch_button(high_res_frame, "I-V Measurement", "K6517B I-V").grid(row=0, column=0, sticky='ew', pady=(0, 2), padx=(0, 4))
242248
self._create_launch_button(high_res_frame, "R vs. T (Active)", "K6517B Resistivity").grid(row=1, column=0, sticky='ew', pady=(2, 2), padx=(0, 4))
243249
self._create_launch_button(high_res_frame, "R vs. T (Passive)", "K6517B R-T (Passive)").grid(row=2, column=0, sticky='ew', pady=(2, 0), padx=(0, 4))
250+
self._create_launch_button(high_res_frame, "I-V Measurement", "K6517B I-V").grid(row=0, column=0, sticky='ew', padx=(0, 4), pady=(0,2))
251+
self._create_launch_button(high_res_frame, "R vs. T (Active)", "K6517B R-T (Active)").grid(row=1, column=0, sticky='ew', padx=(0, 4), pady=(2,2))
252+
self._create_launch_button(high_res_frame, "R vs. T (Passive)", "K6517B R-T (Passive)").grid(row=2, column=0, sticky='ew', padx=(0, 4), pady=(2,0))
244253
ttk.Button(high_res_frame, text="📁", style='Icon.TButton', command=lambda: self.open_script_folder("K6517B I-V")).grid(row=0, column=1, rowspan=3, sticky='ns')
245254

246255
pyro_frame = ttk.LabelFrame(right_col, text='Pyroelectric Measurement (Keithley 6517B)'); pyro_frame.pack(fill='x', expand=True, pady=GROUP_PAD_Y)

0 commit comments

Comments
 (0)