Dear Eric,
Have you found out what the issue was in the meantime, eg was the file
corrupted as Alfonso suggested?
If not, could you run the following and let me know the output?
filename = '****.nii';
N = nifti(filename)
N.hdr
d = dir(filename)
Best regards,
Guillaume.
On 11/11/2019 18:32, Eric Rawls wrote:
> Hi again Guillame, this actually does not appear to be the issue for us.
> I downloaded SPM8, and the error persists.
> Any ideas?
> E
>
> On Fri, Nov 8, 2019 at 4:18 AM Flandin, Guillaume <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
> Dear Eric,
>
> There is a bug (one character typo) for large file support on Windows in
> the latest update of SPM12, see:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=SPM;1c7e760f.1904
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fcgi-bin%2Fwebadmin%3FA2%3DSPM%3B1c7e760f.1904&data=02%7C01%7C%7C05150c6854004fe5f0ef08d766d58c94%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637090939698526227&sdata=Vfld8mgpRq5AMBsspk00UPHgYUQSdA%2Fxk4Sq7TbMLek%3D&reserved=0>
> This will be fixed in the next set of updates that should take place
> later this month but I will send you a link to the current development
> version in the meantime.
>
> Best regards,
> Guillaume.
>
>
> On 07/11/2019 20:42, Eric Rawls wrote:
> > This is in SPM12 running in matlab r2018b.
> > The computer runs Windows 10 64-bit, and the processor is an intel
> core
> > i7 @ 2.6 GHz.
> > It has 32 GB of ram.
> > The files reside nowhere special, they are in my matlab folder in
> documents.
> > To get the error message, I used SPM's gui, clicked display, navigated
> > to the file, type 1:1200 in the "volumes" box (to display all 1200
> > rather than the default 1). Anytime I try to use the gui to display
> > volumes further than 10, it gives the error I mentioned. But if I ask
> > SPM to display any of the first 10 volumes there is no issue.
> > Eric
> >
> > On Thu, Nov 7, 2019 at 2:05 PM Ashburner, John
> <[log in to unmask] <mailto:[log in to unmask]>
> > <mailto:[log in to unmask] <mailto:[log in to unmask]>>> wrote:
> >
> > Which release of SPM? What sort of computer/MATLAB (32 bit / 64
> > bit)? Do the files reside on any special sort of disk? What
> did you
> > do to get the error message?
> >
> > Older software/hardware struggled with images greater than about
> > 2Gbytes (because that's about the biggest offset into a file that
> > can be represented by a signed 32 bit integer), but more
> recent SPM
> > and MATLAB versions (and hardware) tend not to be limited this
> way.
> > Even so, its strange that it can't read past the 10th volume
> in the
> > 4D file. This makes me think that the data might be residing on
> > some unusual type of disk storage that doesn't memory map
> properly.
> >
> > Best regards,
> > -John
> >
> >
> ------------------------------------------------------------------------
> > *From:* SPM (Statistical Parametric Mapping)
> <[log in to unmask] <mailto:[log in to unmask]>
> > <mailto:[log in to unmask] <mailto:[log in to unmask]>>> on
> behalf of Eric Rawls
> > <[log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask] <mailto:[log in to unmask]>>>
> > *Sent:* 07 November 2019 19:16
> > *To:* [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask] <mailto:[log in to unmask]>>
> > <[log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask] <mailto:[log in to unmask]>>>
> > *Subject:* [SPM] Issue reading some volumes from HCP
> resting-state data
> >
> > Hi all,
> > I'm having an odd problem with SPM. I am trying to read
> volumes from
> > the WU-Minn Human Connectome Project resting-state data (1200
> > volumes, .72 s TR, roughly 4 GB in size).
> > SPM reads volumes 1-10 (of 1200) just fine, but rejects reading
> > volumes 11-1200.
> > The message conveyed through matlab is
> >
> > Cannot access file "C:\Users\localpath\rfMRI_REST1_LR.nii".
> > Error using spm_slice_vol
> > File too small.
> >
> > I thought the file might be corrupted, but it does not seem to
> be. I
> > can read any of the 1200 volumes in MRICron and in Connectome
> > Workbench, so this problem seems specific to SPM.
> > Has anybody else had issues like this? How did you overcome it?
> > Thanks
> > --
> > Eric Rawls, Ph.D.
> > NIMH T32 Postdoctoral Fellow
> > Medical Discovery Team for Addiction
> > Department of Psychiatry and Behavioral Sciences
> > University of Minnesota Medical School
> > [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask] <mailto:[log in to unmask]>>
> >
> >
> >
> > --
> > Eric Rawls, Ph.D.
> > NIMH T32 Postdoctoral Fellow
> > Neuroimaging and Addiction Lab
> > Department of Psychiatry and Behavioral Sciences
> > University of Minnesota Medical School
> > [log in to unmask] <mailto:[log in to unmask]>
> <mailto:[log in to unmask] <mailto:[log in to unmask]>>
>
> --
> Guillaume Flandin, PhD
> Wellcome Centre for Human Neuroimaging
> UCL Queen Square Institute of Neurology
> London WC1N 3BG
>
>
>
> --
> Eric Rawls, Ph.D.
> NIMH T32 Postdoctoral Fellow
> Neuroimaging and Addiction Lab
> Department of Psychiatry and Behavioral Sciences
> University of Minnesota Medical School
> [log in to unmask] <mailto:[log in to unmask]>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|