From 8c4f8e2ad3c5302c8fca737ac83e2e370f725b4b Mon Sep 17 00:00:00 2001 From: William Fiore Date: Mon, 1 May 2023 19:50:17 -0400 Subject: [PATCH] Fixed bug in your_writer.py when attempting to write psrfits --- bin/your_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/your_writer.py b/bin/your_writer.py index 60a6d36..53fb1b1 100644 --- a/bin/your_writer.py +++ b/bin/your_writer.py @@ -238,7 +238,7 @@ ) if values.type == "fits": - w.to_fits(npsub=values.npsub) + w.to_fits(npsub=values.nspectra_per_subint) elif values.type == "fil": w.to_fil() else: