diff --git a/abacusnbody/hod/zcv/ic_fields.py b/abacusnbody/hod/zcv/ic_fields.py index 1d68e97..d26fe45 100644 --- a/abacusnbody/hod/zcv/ic_fields.py +++ b/abacusnbody/hod/zcv/ic_fields.py @@ -44,9 +44,10 @@ def compress_asdf(asdf_fn, table, header): blosc_block_size=3 * 1024**2, nthreads=4, ) - with asdf.AsdfFile(data_tree) as af, open( - asdf_fn, 'wb' - ) as fp: # where data_tree is the ASDF dict tree structure + with ( + asdf.AsdfFile(data_tree) as af, + open(asdf_fn, 'wb') as fp, + ): # where data_tree is the ASDF dict tree structure af.write_to( fp, all_array_compression='blsc', compression_kwargs=compression_kwargs )