From 854b37f1b248ec1e99057c8f6b9a4304985d96d8 Mon Sep 17 00:00:00 2001
From: Vlad Kondratiev <vlad.kondratiev@gmail.com>
Date: Fri, 12 May 2023 07:46:46 +0200
Subject: [PATCH] small tweak with the output format of the
 ldv_psrfits_requantisation.log

---
 bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py b/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py
index dc98044..753ddd6 100644
--- a/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py
+++ b/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py
@@ -166,9 +166,10 @@ def main():
             # otherwise psrfits_subband will not work - can't override the file if it exists already
             os.system("rm -f %s.fits" % (outputbase))
             outf = open(logfile, 'w')
-            outf.write("=" * 75 + "\n")
+            outf.write("=" * 100 + "\n")
             outf.write("Input PSRFITS file: %s\n" % (ii))
             outf.write("Command: %s\n" % (cmd))
+            outf.write("=" * 100 + "\n")
             outf.close()
             proc = Popen(shlex.split(cmd), stdout=PIPE, stderr=STDOUT, cwd="%s/%s" % (workdir, rootdir), shell=False)
             (sout, serr) = proc.communicate()
-- 
GitLab