From fdbf12c73f36480bc127816967bc07f5a8f5b649 Mon Sep 17 00:00:00 2001 From: Joseph Date: Mon, 5 Aug 2024 13:51:42 +0100 Subject: [PATCH] Fix output --- pcpostprocess/scripts/run_herg_qc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcpostprocess/scripts/run_herg_qc.py b/pcpostprocess/scripts/run_herg_qc.py index e67b0a5..9eaff94 100644 --- a/pcpostprocess/scripts/run_herg_qc.py +++ b/pcpostprocess/scripts/run_herg_qc.py @@ -1044,7 +1044,8 @@ def qc3_bookend(readname, savename, time_strs, args): last_before_current = last_before_current_dict[well][-1, :] last_after_current = last_after_current_dict[well][-1, :] - save_fname = os.path.join(output_dir, "leak_correction", f"{well}_{savename}_before0.pdf") + save_fname = os.path.join(args.output_dir, "leak_correction", + f"{well}_{savename}_before0.pdf") before_traces_first[well] = get_leak_corrected(first_before_current, voltage, times,