# mne\_do\_forward\_solution

**URL:** <https://mne.discourse.group/t/mne-do-forward-solution/583>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [May 28, 2013, 4:47am UTC](https://mne.discourse.group/t/mne-do-forward-solution/583 "2013-05-28T04:47:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 28, 2013, 4:47am UTC](https://mne.discourse.group/t/mne-do-forward-solution/583/1 "2013-05-28T04:47:39Z")

</div>

Hi,

I'm running mne\_do\_forward\_solution like so:

\*mne\_do\_forward\_solution --subject YA006 --mindist 5 --spacing ico-4 --meas  
/data/restMEG/YA006/YA006\_rest\_raw\_sss.fif --bem  
/home/data/search\_fMRI/YA006/bem/YA006-5120-bem-sol.fif --megonly\*

And it is failing with this message:

\*Specify the MRI file name with --mri option, employ the --trans option, or\*  
\*create a \*-trans.fif fif file in the same directory where the MEG/EEG data  
reside\*

I've run this command just the same way with dozens of other subjects  
without issue. Can anyone give me a clue what I might be doing wrong?

Best wishes,

Vincent Rupp Jr  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20130527/f37ce27a/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130527/f37ce27a/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 28, 2013, 5:28am UTC](https://mne.discourse.group/t/mne-do-forward-solution/583/2 "2013-05-28T05:28:43Z")

</div>

That was it Stephen. Thanks very much!

Best wishes,

Vincent Rupp Jr

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 28, 2013, 5:40am UTC](https://mne.discourse.group/t/mne-do-forward-solution/583/3 "2013-05-28T05:40:45Z")

</div>

As implied by the error message, it is possible that the head to MRI  
tranformation seems to be missing.. Did you do the coordinate alignment  
and save the transformations for this subject the same way as you did for  
the dozen other subjects? Also, you could try CDing into  
/data/restMEG/YA006/ and re-running the command to see if making it look  
for measurement file and the -trans.fif file in the current directory  
helps..

HTH..

Regards,  
Hari
