<div dir="ltr"><div>Hi,<br></div><div>my problem is in <br><br></div><div>ds=get_haxby2001_data()<br><br></div><div>in the following the error <br><br></div><div>i hope you can help me<br><br></div><div>best <br><br></div>
<div>Pierpaolo<br></div><div><div><div><br><br><br><br>IOError Traceback (most recent call last)<br><ipython-input-2-85af940e7038> in <module>()<br>----> 1 ds=get_haxby2001_data()<br>
<br>/usr/lib/pymodules/python2.7/mvpa2/tutorial_suite.pyc in get_haxby2001_data(path, roi)<br> 40 def get_haxby2001_data(path=None, roi='vt'):<br> 41 if path is None:<br>---> 42 ds = get_raw_haxby2001_data(roi=roi)<br>
43 else:<br> 44 ds = get_raw_haxby2001_data(path, roi=roi)<br><br>/usr/lib/pymodules/python2.7/mvpa2/tutorial_suite.pyc in get_raw_haxby2001_data(path, roi)<br> 35 return ds<br> 36 else:<br>
---> 37 return load_datadb_tutorial_data(path=path, roi=roi)<br> 38 <br> 39 <br><br>/usr/lib/pymodules/python2.7/mvpa2/misc/data_generators.pyc in load_datadb_tutorial_data(path, roi)<br> 375 else:<br>
376 raise ValueError("Got something as mask that I cannot handle.")<br>--> 377 attr = SampleAttributes(os.path.join(path, 'attributes.txt'))<br> 378 ds = fmri_dataset(samples=os.path.join(path, 'bold.nii.gz'),<br>
379 targets=attr.targets, chunks=attr.chunks,<br><br>/usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in __init__(self, source, literallabels, header)<br> 406 ColumnData.__init__(self, source,<br>
407 header=header,<br>--> 408 sep=None, dtype=dtypes)<br> 409 <br> 410 <br><br>/usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in __init__(self, source, header, sep, headersep, dtype, skiplines)<br>
116 if isinstance(source, str):<br> 117 self._from_file(source, header=header, sep=sep, headersep=headersep,<br>--> 118 dtype=dtype, skiplines=skiplines)<br> 119 <br>
120 elif isinstance(source, dict):<br><br>/usr/lib/pymodules/python2.7/mvpa2/misc/io/base.pyc in _from_file(self, filename, header, sep, headersep, dtype, skiplines)<br> 212 self.clear()<br> 213 <br>
--> 214 file_ = open(filename, 'r')<br> 215 <br> 216 self._header_order = None<br><br><span style="background-color:rgb(255,255,0)">IOError: [Errno 2] No such file or directory: './data/attributes.txt'</span><br>
<br clear="all"><br>-- <br>PC
</div></div></div></div>