Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 FSL 4 error message
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dichter
BIAC Faculty

190 Posts

Posted - Oct 16 2007 :  10:43:23 AM  Show Profile  Visit Dichter's Homepage  Reply with Quote
When running post-stats in a first-level analysis, we are getting the following error:

** ERROR (nifti_image_read): failed to find header file for 'stats/sigmasquareds'
** ERROR: nifti_image_open(stats/sigmasquareds): bad header info
Error: failed to open file stats/sigmasquareds

The nifti file is where it's supposed to be and the right size.

This error is new since upgrading to FSL 4. Thanks for any help.

Gabriel S. Dichter, PhD
UNC Departments of Psychiatry & Psychology
http://www.can.unc.edu/

tankersley
BIAC Alum

USA
143 Posts

Posted - Jan 10 2008 :  3:09:01 PM  Show Profile  Reply with Quote
Do you remember why you were getting this error?

Dharol
Go to Top of Page

tankersley
BIAC Alum

USA
143 Posts

Posted - Jan 14 2008 :  10:32:38 AM  Show Profile  Reply with Quote
I am getting the following error when running Feat Level 1:

WARNING: nifti_read_buffer(/mnt/users.q.shares/tankersley.2VInDua08vm9fedS6wsM/Control/Shapes/47072/47072_ica_nofBET/shapes1.ica/awesome_data.nii):
data bytes needed = 557056
data bytes input = 0
number missing = 557056 (set to 0)

Also, when i try to load the nifit file into MATLAB i get the following error:

??? Error using ==> readmr
Input size array doesn't match size of data!

A random internet forum recommended either saving in hdr/img format, or "You can use FSL's "correctheader" command to fix that. But ONLT
if you have 4 missing bytes and get the warning message you
posted. . .Without this correction, your data might be shifted by one voxel."
http://www.bic.mni.mcgill.ca/pipermail/minc-users/2007-October.txt

Has anyone encountered this problem, and does one of these solutions seem more advisable than the other?

Thanks,

dharol

Go to Top of Page

dvsmith
Advanced Member

USA
218 Posts

Posted - Jan 14 2008 :  11:06:00 AM  Show Profile  Visit dvsmith's Homepage  Reply with Quote
Can you load the original .bxh file into matlab (i.e., the one you got from the scanner)? If that works, verify that the length of the data.data is equal to t size listed in data.info.dimensions.size. I'm not sure if bxh2analyze would've worked if that were the case, though. If the original data is messed up, you'll probably have to get it re-reconed or either fix the .bxh file yourself.

-David
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Jan 14 2008 :  11:06:16 AM  Show Profile  Reply with Quote
Does the size of awesome_data.nii look unreasonable? i.e. is it zero-length? As an example, if the image is is 64x64x32x200, and it is 16-bit integers, then it should be of length 64x64x32x200x2 + 352 (for the NIFTI header) == 52429152 bytes.
Go to Top of Page

tankersley
BIAC Alum

USA
143 Posts

Posted - Jan 14 2008 :  11:14:27 AM  Show Profile  Reply with Quote
The original data/ header file are fine. awesome_data.nii is only 1KB, so i guess i'll try to remake it and see if it becomes a more reasonable size.

Thanks,

Dharol
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.58 seconds. Snitz Forums 2000