Hi, Thank you for your reply again! <br>print ds_all gives something similar to the example dataset when I compared them. There are 18 subj's data in the one giant dataset and it really looks ok to me. :( I have uploaded the output of that to dropbox (<a href="http://db.tt/1AVLykwd">http://db.tt/1AVLykwd</a>) if you wouldn't mind looking at it, though it is a bit long. <br>
Thank you!<br><br>Kimberly<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 3<br>
Date: Fri, 1 Feb 2013 15:14:58 -0500<br>
From: Yaroslav Halchenko <<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>><br>
To: Development and support of PyMVPA<br>
<<a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a>><br>
Subject: Re: [pymvpa] Multiple datasets in one hdf5 file<br>
Message-ID: <<a href="mailto:20130201201458.GC8321@onerussian.com">20130201201458.GC8321@onerussian.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
ok -- then not all but one of them must be a string ;)<br>
<br>
print ds_all<br>
<br>
I am so certain because of:<br>
<br>
>>> for i,sd in enumerate(ds_all):<br>
...???? [1]<a href="http://sd.sa" target="_blank">sd.sa</a>['subject'] = np.repeat(i, len(sd))<br>
...<br>
Traceback (most recent call last):<br>
? File "<stdin>", line 2, in <module><br>
AttributeError: 'str' object has no attribute 'sa'<br>
<br>
which says that 'sd' (one of the entries in ds_all) was a 'str'<br>
<br>
On Fri, 01 Feb 2013, Kimberly Zhou wrote:<br>
<br>
> <Dataset: 624x13699@float32, <sa:<br>
> chunks,targets,time_coords,time_indices>, <fa: voxel_indices>, <a:<br>
> imghdr,imgtype,mapper,voxel_dim,voxel_eldim>><br>
<br>
> Hmm, it looks pretty much identical to the example dataset, just more<br>
> voxels...<br>
<br>
> Message: 1<br>
> Date: Thu, 31 Jan 2013 13:41:45 -0500<br>
> From: Yaroslav Halchenko <[1]<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>><br>
> To: [2]<a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
> Subject: Re: [pymvpa] Multiple datasets in one hdf5 file<br>
> Message-ID: <[3]<a href="mailto:20130131184145.GE8321@onerussian.com">20130131184145.GE8321@onerussian.com</a>><br>
> Content-Type: text/plain; charset=utf-8<br>
<br>
> something is wrong here since ds_all seems to be ?just a list of strings<br>
> here if I read errors correctly -- what is in your ds_all? ;)<br>
<br>
> print ds_all[0]<br>
<br>
> References<br>
<br>
> Visible links<br>
> 1. mailto:<a href="mailto:debian@onerussian.com">debian@onerussian.com</a><br>
> 2. mailto:<a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
> 3. mailto:<a href="mailto:20130131184145.GE8321@onerussian.com">20130131184145.GE8321@onerussian.com</a><br>
<br>
> _______________________________________________<br>
> Pkg-ExpPsy-PyMVPA mailing list<br>
> <a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
<br>
<br>
--<br>
Yaroslav O. Halchenko<br>
Postdoctoral Fellow, Department of Psychological and Brain Sciences<br>
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br>
Phone: <a href="tel:%2B1%20%28603%29%20646-9834" value="+16036469834">+1 (603) 646-9834</a> Fax: <a href="tel:%2B1%20%28603%29%20646-1419" value="+16036461419">+1 (603) 646-1419</a><br>
WWW: <a href="http://www.linkedin.com/in/yarik" target="_blank">http://www.linkedin.com/in/yarik</a><br>
<br></blockquote></div>