@agramfort yes by now I have run all three scripts, sorry for being unclear

Is the trans file actually wrong (as noted in the comment)? I noticed at the beginning of the file fname_mri is defined twice. If I submit the first one (as well as specifying `spacing='oct-6'`), I actually do get a `Cannot read the coordinate transformation` error.