[pymvpa] (no subject)

Jiang, Zhiguo zhiguo.jiang at njit.edu
Fri Jan 24 13:28:51 UTC 2014


make sure you are in the tutorial_data directory.
On Jan 24, 2014 4:00 AM, "Pierpaolo Croce" <pierpaolo12croce at gmail.com>
wrote:

> Hi,
> my problem is in
>
> ds=get_haxby2001_data()
>
> in the following the error
>
> i hope you can help me
>
> best
>
> Pierpaolo
>
>
>
>
> IOError                                   Traceback (most recent call last)
> <ipython-input-2-85af940e7038> in <module>()
> ----> 1 ds=get_haxby2001_data()
>
> /usr/lib/pymodules/python2.7/mvpa2/tutorial_suite.pyc in
> get_haxby2001_data(path, roi)
>      40 def get_haxby2001_data(path=None, roi='vt'):
>      41     if path is None:
> ---> 42         ds = get_raw_haxby2001_data(roi=roi)
>      43     else:
>      44         ds = get_raw_haxby2001_data(path, roi=roi)
>
> /usr/lib/pymodules/python2.7/mvpa2/tutorial_suite.pyc in
> get_raw_haxby2001_data(path, roi)
>      35         return ds
>      36     else:
> ---> 37         return load_datadb_tutorial_data(path=path, roi=roi)
>      38
>      39
>
> /usr/lib/pymodules/python2.7/mvpa2/misc/data_generators.pyc in
> load_datadb_tutorial_data(path, roi)
>     375     else:
>     376         raise ValueError("Got something as mask that I cannot
> handle.")
> --> 377     attr = SampleAttributes(os.path.join(path, 'attributes.txt'))
>     378     ds = fmri_dataset(samples=os.path.join(path, 'bold.nii.gz'),
>     379                       targets=attr.targets, chunks=attr.chunks,
>
> /usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in __init__(self,
> source, literallabels, header)
>     406         ColumnData.__init__(self, source,
>     407                             header=header,
> --> 408                             sep=None, dtype=dtypes)
>     409
>     410
>
> /usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in __init__(self,
> source, header, sep, headersep, dtype, skiplines)
>     116         if isinstance(source, str):
>     117             self._from_file(source, header=header, sep=sep,
> headersep=headersep,
> --> 118                            dtype=dtype, skiplines=skiplines)
>     119
>     120         elif isinstance(source, dict):
>
> /usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in _from_file(self,
> filename, header, sep, headersep, dtype, skiplines)
>     212         self.clear()
>     213
> --> 214         file_ = open(filename, 'r')
>     215
>     216         self._header_order = None
>
> IOError: [Errno 2] No such file or directory: './data/attributes.txt'
>
>
> --
> PC
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20140124/0536d2d8/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list