[SciPy-user] Bug in io.mmread
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Tue Feb 22 03:44:12 EST 2005
Hi all,
I am reporting a bug in io.mmread.
mmread in Matlab can handle the input file.
The test file is attached
Traceback (most recent call last):
File "benchmark.py", line 2, in ?
f = io.mmread('windscreen.B.mtx.gz')
File "/usr/lib/python2.3/site-packages/scipy/io/mmio.py", line 103, in
mmread
rows,cols,entries,rep,field,symm = mminfo(source)
File "/usr/lib/python2.3/site-packages/scipy/io/mmio.py", line 65, in
mminfo
assert len(line)==2,`line`
AssertionError: ['22692', '1', '22692']
Nils
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark.py
Type: text/x-python
Size: 57 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20050222/b71adfae/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windscreen.B.mtx.gz
Type: application/x-tar
Size: 3476 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20050222/b71adfae/attachment.tar>
More information about the SciPy-User
mailing list