Print

Print


Hello,
i have experienced the problem of altered filenames while preprocessing 
my fieldmapdata.

My data has the following structure:
4 Session with 265 scans + a fieldmap for each session (with a phase and 
two magnitude images)
each session has a functional images folder and a fieldmap folder. i?m 
using the double file format and the data is acquired with a Siemens 
TRIO-MRI.

After importing the data from the dicom format i made a copy of all the 
data (for not having to import again if something in the processing went 
wrong).
The fieldmap processing with the fieldmap toolbox i did in the copied 
folder. I was using a batch script via the task menu in the graphics 
window of spm. The first problem is that it is possible to prepare the 
batch script for more than one fieldmap at the time, but then this 
script doesn?t work and reports an error. So i have to do it for one 
fieldmap at the time. this costs a lot of time.

But the real bug is that after running this batchscript (its matfile is 
attached) the hdr file of the 50th scan of the responding session is 
missing and replaced a file with a destroyed filename:
for example

fTRIO_5987-0004-00050-000050-01.hdr (both the 00050 and the 000050 
indicate that it is the 50th scan, TRIO_5987 is the number for the subject)

is gone and this is there instead:

FTRIO~50.HDR

and exactly the same happens for all data sets with one difference in a 
few cases the 50th hdr is there, but the 49th .img is missing.

This problem doesn?t happen, when i use the GUI. But the GUI is even 
more time consuming.

Best regards

Jonas Westphal