diff --git a/src/neuroconv/tools/hdmf.py b/src/neuroconv/tools/hdmf.py index 7e330dda8..bda951f4a 100644 --- a/src/neuroconv/tools/hdmf.py +++ b/src/neuroconv/tools/hdmf.py @@ -41,7 +41,11 @@ def _get_default_buffer_shape(self, buffer_gb: float = 1.0) -> Tuple[int]: # Handle the case where the single axis is too large to fit in the buffer if axis_sizes_bytes[0] > target_buffer_bytes: k1 = np.floor(target_buffer_bytes / chunk_bytes) - return tuple([k1 * self.chunk_shape[0],]) + return tuple( + [ + k1 * self.chunk_shape[0], + ] + ) else: raise ValueError(f"num_axes ({num_axes}) is less than one!")