[pymvpa] Multiple datasets in one hdf5 file
Yaroslav Halchenko
debian at onerussian.com
Fri Feb 1 20:14:58 UTC 2013
ok -- then not all but one of them must be a string ;)
print ds_all
I am so certain because of:
>>> for i,sd in enumerate(ds_all):
...���� [1]sd.sa['subject'] = np.repeat(i, len(sd))
...
Traceback (most recent call last):
� File "<stdin>", line 2, in <module>
AttributeError: 'str' object has no attribute 'sa'
which says that 'sd' (one of the entries in ds_all) was a 'str'
On Fri, 01 Feb 2013, Kimberly Zhou wrote:
> <Dataset: 624x13699 at float32, <sa:
> chunks,targets,time_coords,time_indices>, <fa: voxel_indices>, <a:
> imghdr,imgtype,mapper,voxel_dim,voxel_eldim>>
> Hmm, it looks pretty much identical to the example dataset, just more
> voxels...
> Message: 1
> Date: Thu, 31 Jan 2013 13:41:45 -0500
> From: Yaroslav Halchenko <[1]debian at onerussian.com>
> To: [2]pkg-exppsy-pymvpa at lists.alioth.debian.org
> Subject: Re: [pymvpa] Multiple datasets in one hdf5 file
> Message-ID: <[3]20130131184145.GE8321 at onerussian.com>
> Content-Type: text/plain; charset=utf-8
> something is wrong here since ds_all seems to be �just a list of strings
> here if I read errors correctly -- what is in your ds_all? ;)
> print ds_all[0]
> References
> Visible links
> 1. mailto:debian at onerussian.com
> 2. mailto:pkg-exppsy-pymvpa at lists.alioth.debian.org
> 3. mailto:20130131184145.GE8321 at onerussian.com
> _______________________________________________
> 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
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the Pkg-ExpPsy-PyMVPA
mailing list