Skip to content

Commit

Permalink
MNT #1032
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Oct 29, 2024
1 parent f476399 commit 88e9e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apstools/callbacks/spec_file_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 88e9e7a

Please sign in to comment.