Hello all, I'm having trouble passing a text file to SampleAttributes, and I -think- what my problem might be is that my text file has more columns than I thought it did. Vim seems to think it has 3894 columns. I have a couple questions. Does the following error message seem consistent with this? And if so, is there a possible way to fix this? Even better, is there a way to read in an Excel spreadsheet? That's the file format I'm starting with.
>>> attr = SampleAttributes(attr_fname) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/mvpa2/misc/io/base.py", line 426, in __init__ sep=None, dtype=dtypes) File "/usr/lib/python2.7/dist-packages/mvpa2/misc/io/base.py", line 118, in __init__ dtype=dtype, skiplines=skiplines) File "/usr/lib/python2.7/dist-packages/mvpa2/misc/io/base.py", line 258, in _from_file "of columns in header [%i]." % (len(l), len(hdr)) RuntimeError: Number of entries in line [3] does not match number of columns in header [2]. Thanks for your help! Lauren
_______________________________________________ Pkg-ExpPsy-PyMVPA mailing list Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa