@@ -276,7 +276,7 @@ def callback():
276276
277277
278278def generate_write_header (
279- data , stream = False , compression_kwargs = None , padding = False , fs_block_size = 1 , write_checksum = False , ** header_kwargs
279+ data , stream = False , compression_kwargs = None , padding = False , fs_block_size = 1 , write_checksum = True , ** header_kwargs
280280):
281281 """
282282 Generate a dict representation of a ASDF block header that can be
@@ -309,7 +309,7 @@ def generate_write_header(
309309 The filesystem block size. See the `asdf.util.calculate_padding`
310310 ``block_size`` argument for more details.
311311
312- write_checksum: bool, optional, default False
312+ write_checksum: bool, optional
313313 Compute and write the checksum of the block data.
314314 If disabled then the checksum field is set to 0.
315315
@@ -377,7 +377,7 @@ def generate_write_header(
377377
378378
379379def write_block (
380- fd , data , offset = None , stream = False , compression_kwargs = None , padding = False , write_checksum = False , ** header_kwargs
380+ fd , data , offset = None , stream = False , compression_kwargs = None , padding = False , write_checksum = True , ** header_kwargs
381381):
382382 """
383383 Write an ASDF block.
@@ -400,7 +400,7 @@ def write_block(
400400 padding : bool, optional, default False
401401 Optionally pad the block data. See `generate_write_header`.
402402
403- write_checksum: bool, optional, default False
403+ write_checksum: bool, optional
404404 Compute and write the checksum of the block data.
405405 If disabled then the checksum field is set to 0.
406406
0 commit comments