From 637065ee8f4221cc684965e10057201db7bd304c Mon Sep 17 00:00:00 2001 From: rpvin Date: Fri, 21 Jun 2024 01:25:32 +0100 Subject: [PATCH] Added spaces to the checkpoint_read function --- post_processing/rayleigh_diagnostics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post_processing/rayleigh_diagnostics.py b/post_processing/rayleigh_diagnostics.py index 2ade52b7..fd01869b 100644 --- a/post_processing/rayleigh_diagnostics.py +++ b/post_processing/rayleigh_diagnostics.py @@ -3267,8 +3267,8 @@ def streamfunction(vr,vt,r,cost,order=0): return psi ###### Function for reading in the checkpoint files (i.e. P,PAB,T,TAB,W,WAB,Z,ZAB) -def checkpoint_read(chk_file_string,nr,ntheta): - nell=(2*ntheta)//3 +def checkpoint_read(chk_file_string, nr, ntheta): + nell = (2*ntheta)//3 shape = (nell,nell) i,j = np.indices(shape) m = i <= j