Fix rescaling bug in Python 3
@@ -922,7 +922,7 @@ def rescale_rows(rows, rescale):
n_chans = len(rescale)
for row in rows:
- rescaled_row = array(typecode, row)
+ rescaled_row = array(typecode, iter(row))
for i in range(n_chans):
channel = array(
typecode,
