From 59e8e38d272f38a3959108e98537d4b1fa5ab5e2 Mon Sep 17 00:00:00 2001 From: Willem Hoogendam <127799461+Boerenkool@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:56:43 -1000 Subject: [PATCH] Update sn.py Bug fix in dump_lc() that added a comma to model output (line 1444) requiring manual removal --- snpy/sn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snpy/sn.py b/snpy/sn.py index d477ec2..d2d736f 100755 --- a/snpy/sn.py +++ b/snpy/sn.py @@ -1441,7 +1441,7 @@ def dump_lc(self, epoch=0, tmin=-10, tmax=70, k_correct=0, print("# column 2: model magnitude", file=f) print("# column 3: model magnitude error", file=f) for i in range(len(ts)): - print("%.1f, %.3f %.3f" % (ts[i]+self.Tmax-toff, ms[i], + print("%.1f %.3f %.3f" % (ts[i]+self.Tmax-toff, ms[i], e_ms[i]), file=f) f.close() if self.data[filt].interp is not None: