Re: [Freesurfer] bad magic number

2015-06-12 Thread Jalmar Teeuw
Hi Matthew, I'll send you two header files of affected scans by private e-mail. I heard the tool is being upgraded to use nibabel v2.0, but we haven't been able to test if the problem is still present in the latest version. Regards, Jalmar On Jun 11, 2015, at 06:47 PM, Matthew Brett wrote:

Re: [Freesurfer] bad magic number

2015-06-11 Thread Matthew Brett
Hi, On Thu, Jun 11, 2015 at 2:09 AM, Jalmar Teeuw wrote: > Hi Matthew, > > Thanks for getting back at this. We only process data for our users, so I > don't have permission to share a sample with you. But I'll ask around to see > if I can get a scan for you. > > To be honest, we aren't quite su

Re: [Freesurfer] bad magic number

2015-06-11 Thread Jalmar Teeuw
Hi Matthew, Thanks for getting back at this. We only process data for our users, so I don't have permission to share a sample with you. But I'll ask around to see if I can get a scan for you. To be honest, we aren't quite sure if the problem is with nibabel (v1.3.0). I tried to reproduce the p

Re: [Freesurfer] bad magic number

2015-06-10 Thread Matthew Brett
Hi, > We had the same problem with importing scans into Freesurfer that had been > converted from PAR/REC to NIFTI using nipy. The problem only affected a > subset of the data. When visualising the data with Fiji the brain appeared > highly skewed. Upon closer inspection of the header data of the

Re: [Freesurfer] bad magic number

2015-06-10 Thread Jalmar Teeuw
Kriegel, Jennifer Lynn Sarai >> wrote: >> >> mricro >> >> -Original Message- >> From: freesurfer-boun...@nmr.mgh.harvard.edu >> [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Douglas N >> Greve >> Sent: Tuesday,

Re: [Freesurfer] bad magic number

2015-06-10 Thread Kriegel, Jennifer Lynn Sarai
urfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Jalmar Teeuw Sent: Wednesday, June 10, 2015 4:10 AM To: Freesurfer support list Subject: Re: [Freesurfer] bad magic number Hi Jennifer, We had the same problem with importing scans into Freesurfer that had been conv

Re: [Freesurfer] bad magic number

2015-06-10 Thread Jalmar Teeuw
n 09 Jun 2015, at 22:21, Kriegel, Jennifer Lynn Sarai > wrote: > > mricro > > -Original Message- > From: freesurfer-boun...@nmr.mgh.harvard.edu > [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Douglas N Greve > Sent: Tuesday, June 09, 2015 3:16 PM >

Re: [Freesurfer] bad magic number

2015-06-09 Thread Kriegel, Jennifer Lynn Sarai
mricro -Original Message- From: freesurfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Douglas N Greve Sent: Tuesday, June 09, 2015 3:16 PM To: freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] bad magic number how was it created? On

Re: [Freesurfer] bad magic number

2015-06-09 Thread Douglas N Greve
ischl > Sent: Tuesday, June 09, 2015 3:02 PM > To: Freesurfer support list > Subject: Re: [Freesurfer] bad magic number > > Hi Jennifer > > can MRIcro read it? Usually that means it is corrupted Bruce > > > On Tue, 9 Jun 2015, Kriegel, Jennifer Lynn Sarai > wrote: > &

Re: [Freesurfer] bad magic number

2015-06-09 Thread Kriegel, Jennifer Lynn Sarai
MRIcro opens it, and so does SPM 8. -Original Message- From: freesurfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Bruce Fischl Sent: Tuesday, June 09, 2015 3:02 PM To: Freesurfer support list Subject: Re: [Freesurfer] bad magic number Hi

Re: [Freesurfer] bad magic number

2015-06-09 Thread Bruce Fischl
Hi Jennifer can MRIcro read it? Usually that means it is corrupted Bruce On Tue, 9 Jun 2015, Kriegel, Jennifer Lynn Sarai wrote: Hi,   I’m getting a bad magic number error using mri_convert. I’m trying to convert a .nii file to a .mgz file. I’ve searched all over and all I can find is th

[Freesurfer] bad magic number

2015-06-09 Thread Kriegel, Jennifer Lynn Sarai
Hi, I'm getting a bad magic number error using mri_convert. I'm trying to convert a .nii file to a .mgz file. I've searched all over and all I can find is that you can use python in another program to delete this number, and it is related to the file extension. I've tried using the .nifti1 exte