Back to the main page.

Bug 1296 - ft_read_mri doesn't work for .mgz files under a PC

Status CLOSED FIXED
Reported 2012-01-30 17:11:00 +0100
Modified 2012-04-02 16:25:30 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Lilla Magyari - 2012-01-30 17:11:53 +0100

I could not read in my .mgz file when I was running ft_read_mri under a Windows machine. To test it, you can find an mgz file in /home/language/lilmag/grandaverage_mne. Lilla


Jan-Mathijs Schoffelen - 2012-01-30 17:13:39 +0100

I know, sigh. Should we make the default format that is used in the tutorials nifti? Or should we try to fix this?


Jan-Mathijs Schoffelen - 2012-01-30 17:22:27 +0100

I think reading zipped mgh files is impossible on a PC (at least it is not supported by the code). Should we recommend the default format to be nifti, and thus change it all over the tutorial page, or should we make an explicit warning that the .mgz is only for linux and Mac? I personally prefer to use .mgz because it creates small files.


Lilla Magyari - 2012-01-30 17:44:08 +0100

(In reply to comment #2) I think we just should make a warning. And could we give an advice (alternative route, function..etc.) that people who have Windows could get a nifti output? lills


Jan-Mathijs Schoffelen - 2012-01-31 10:00:26 +0100

I just added a warning in the tutorial. Check it out and feel free to adjust is.


Jan-Mathijs Schoffelen - 2012-01-31 10:00:43 +0100

I also added warnings/errors in the reading/writing code


Lilla Magyari - 2012-02-01 16:12:12 +0100

(In reply to comment #4) I have adjusted the warning in the tutorial a bit. If that's fine with you, I think we can close this b.


Jan-Mathijs Schoffelen - 2012-02-02 17:38:58 +0100

.