From 993b530f3a341a46398d8251b1f0bc0bb38d7ec1 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 17 Jul 2024 12:43:51 +0300 Subject: [PATCH] formatting change --- fitter.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fitter.py b/fitter.py index 84307cd..9e8ab2d 100644 --- a/fitter.py +++ b/fitter.py @@ -42,7 +42,7 @@ class Fitter: return current k = np.zeros(current.size) - k[k.size // 2:] = np.exp(-np.arange(k.size // 2) / np.abs(tau)) + k[k.size // 2 :] = np.exp(-np.arange(k.size // 2) / np.abs(tau)) k /= k.sum() if tau > 0: @@ -210,9 +210,7 @@ if __name__ == "__main__": res_filename = res_filename.replace(" ", "_").replace(":", "-") fit_hist.to_csv(res_filename, index=True) - eid_cleaned = re.sub( - r"[^\w.-]", "", eid - ) # Eemaldab eritahed + eid_cleaned = re.sub(r"[^\w.-]", "", eid) # Eemaldab eritahed fig.savefig(f"plot_{eid_cleaned}.png") fig.savefig(f"plot_{eid_cleaned}.pdf")