Skip to content

Commit 7c0d97a

Browse files
Tried fixing the second quotation mark comment Will need lab test To Confirm
1 parent 1f0898e commit 7c0d97a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pica/keithley/k6517b/High_Resistance/IV_K6517B_GUI.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,10 +757,9 @@ def start_measurement(self):
757757
self.file_location_path, file_name)
758758

759759
with open(self.data_filepath, 'w', newline='') as f:
760+
f.write(f"# Sample Name: {params['sample_name']}\n")
761+
f.write(f"# Voltage Sweep: {start_v}V to {stop_v}V, {steps} steps, {self.delay_ms/1000}s delay\n")
760762
writer = csv.writer(f)
761-
writer.writerow([f"# Sample Name: {params['sample_name']}"])
762-
writer.writerow(
763-
[f"# Voltage Sweep: {start_v}V to {stop_v}V, {steps} steps, {self.delay_ms/1000}s delay"])
764763
writer.writerow(["Time (s)",
765764
"Applied Voltage (V)",
766765
"Measured Current (A)",

0 commit comments

Comments
 (0)