[SciPy-user] read_array problem
Christoph Scheit
cscheit at lstm.uni-erlangen.de
Mon Dec 17 12:12:11 EST 2007
Hello everybody,
just for curiosity I have a question regarding read_array.
When I use the scipy.io read_array function I observe
some behaviour which I don't understand...
First I call the function like this:
self.varVector = read_array(f, columns=cols, lines=((0, 0 + bsize), ))
with cols = ((1,3), )
bsize = 5832
and I get an exception:
ValueError: Argument lines must be a sequence of integers and/or range tuples.
Calling now read_array like this
self.varVector = read_array(f, columns=cols, lines=((0, 0 + 5832), ))
works fine to my surprise...
cols is here the same like before.
Thanks in advance,
Christoph
More information about the SciPy-User
mailing list