Skip to content

Commit 53fe162

Browse files
committed
flake
1 parent b93ba56 commit 53fe162

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phylib/io/traces.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def _memmap_flat(path, dtype=None, n_channels=None, offset=0, mode='r+'):
159159
fsize = path.stat().st_size
160160
item_size = np.dtype(dtype).itemsize
161161
if (fsize - offset) % (item_size * n_channels) != 0:
162-
logger.warning('Inconsistent number of channels between the params file and the binary dat file')
162+
logger.warning('Inconsistent number of channels between the '
163+
'params file and the binary dat file')
163164
n_samples = (fsize - offset) // (item_size * n_channels)
164165
shape = (n_samples, n_channels)
165166
return np.memmap(path, dtype=dtype, offset=offset, shape=shape, mode=mode)

0 commit comments

Comments
 (0)