From 49cd78f63ad3f8389c358c3bdf9bce71e40e9dbb Mon Sep 17 00:00:00 2001 From: hilaryh <17692590+hilaryh@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:54:08 +0000 Subject: [PATCH] Fixed typo in subtraction_plots.py --- pcpostprocess/subtraction_plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcpostprocess/subtraction_plots.py b/pcpostprocess/subtraction_plots.py index 2f90141..2341076 100644 --- a/pcpostprocess/subtraction_plots.py +++ b/pcpostprocess/subtraction_plots.py @@ -58,7 +58,7 @@ def do_subtraction_plot(fig, times, sweeps, before_currents, after_currents, *ramp_bounds) all_leak_params_before.append(before_params) - after_params, _ = fit_linear_leak(before_currents, voltages, times, + after_params, _ = fit_linear_leak(after_currents, voltages, times, *ramp_bounds) all_leak_params_after.append(after_params)