ENH: explicit test for Freesurfer & MNE environment variables?
See original GitHub issueI regularly encounter people who run into highly non explicit subprocess.call()
errors due to inexistent environment variable and source (FREESURFER_HOME
, 'MNE_ROOT`) or missing Freesurfer licence.
Today, the error was due to the fact that Spyder didn’t have the same env variable as the terminal.
In any case, I think it’d be very helpful if we had a little function that checks i) whether the necessary env variables are present and ii) whether they point to a real path, and throw an error otherwise.
Issue Analytics
- State:
- Created 8 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
FreeSurfer MRI reconstruction — MNE 1.2.2 documentation
This tutorial covers how to use FreeSurfer alongside MNE-Python, ... First is to define an environment variable FREESURFER_HOME and then run ...
Read more >A Reproducible MEG/EEG Group Study With the MNE Software
This procedure, called morphing by the MNE software, exploits the FreeSurfer spherical coordinate system defined for each hemisphere (Dale et al ...
Read more >Group analysis in MNE-Python of evoked - NatMEG
MEG, analysis pipeline, MNE-Python, minimum norm estimate (MNE), ... The experiment was approved by the local ethics committee, ...
Read more >Group Analysis in MNE-Python of Evoked Responses from a ...
Keywords: MEG, analysis pipeline, MNE-Python, minimum norm estimate (MNE), ... To test experimental factors, one can create contrasting conditions to single ...
Read more >MNE software User`s Guide - Martinos Center for Biomedical ...
Check the validity of a FreeSurfer surface file. This program simply checks for ... The environment variables relevant to the MNE software are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I remember it took me a while to figure out what ENH stood for 😉
I think we have better checks now, feel free to reopen if they are still insufficient