<div dir="ltr"><div><div>The mask is of type dtype=uint8 for the wizard and unspecified array for the fmri.<br></div><div><br>I have loaded it from the original nifti and the fmri loader works fine. Is it okay to use it like this? Or will I run in to trouble?<br><br></div>The mask for Dataset.from_wizard is just assembled by getImageData(MASK) (which isn't very consistent) and it generates zeros. Is this correct?<br><br></div><div>For Dataset.from_wizard I tried loading it from the NIFTI but again I get an error.<br></div><div><br></div>I think this is bug right?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 2:59 PM, Nick Oosterhof <span dir="ltr"><<a href="mailto:n.n.oosterhof@googlemail.com" target="_blank">n.n.oosterhof@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 04 Dec 2014, at 14:54, Thomas Nickson <<a href="mailto:thomas.nickson@gmail.com">thomas.nickson@gmail.com</a>> wrote:<br>
<br>
> I tried the fmri_dataset and get the following error.<br>
><br>
> ---------------------------------------------------------------------------<br>
> TypeError<br>
</span>> […]<br>
<span class="">>     230     # load the samples<br>
> --> 231     imgdata, imghdr, imgtype = _load_anyimg(samples, ensure=True, enforce_dim=4)<br>
<br>
</span>What is the datatype of the mask?<br>
Can you try to store the mask as a NIFTI file (or make it a NIFTI image)?<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>