From 88e9e7a0ce5e1fdf138b44e7eee12ec1e08e8b31 Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Tue, 29 Oct 2024 14:50:17 -0500 Subject: [PATCH] MNT #1032 --- apstools/callbacks/spec_file_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apstools/callbacks/spec_file_writer.py b/apstools/callbacks/spec_file_writer.py index 25013863..8bfd939b 100644 --- a/apstools/callbacks/spec_file_writer.py +++ b/apstools/callbacks/spec_file_writer.py @@ -733,6 +733,7 @@ def __init__(self, *args, **kwargs): self.file_epoch = None self.spec_filename = None self.write_new_file_header = True + self.write_new_scan_header = False def descriptor(self, doc): """ @@ -887,7 +888,6 @@ def newfile(self, filename=None, scan_id=None, RE=None): self.spec_epoch = int(time.time()) # ! no roundup here!!! self.spec_host = socket.gethostname() or "localhost" self.spec_user = getpass.getuser() or "BlueskyUser" - self.write_new_header = True # don't write the file yet # backwards-compatibility if isinstance(scan_id, bool):