Skip to content

MRG, BUG: Fix config - #6991

Merged
larsoner merged 2 commits into
mne-tools:masterfrom
larsoner:run
Oct 28, 2019
Merged

larsoner merged 2 commits into
mne-tools:masterfrom
larsoner:run

Conversation

@larsoner

Copy link
Copy Markdown
Member

We should respect get_config vars in our own calls, so explicitly set FREESURFER_HOME in the env we use in our subprocess calls.

Closes #6988

@kingjr

kingjr commented Oct 28, 2019

Copy link
Copy Markdown
Member

Since you're at it, you can pass the missing overwrite param here https://github.com/mne-tools/mne-python/blob/master/mne/bem.py#L1156

Otherwise it runs ok on my machine thanks

@codecov

codecov Bot commented Oct 28, 2019

Copy link
Copy Markdown

Codecov Report

Merging #6991 into master will increase coverage by <.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #6991      +/-   ##
==========================================
+ Coverage   89.69%   89.69%   +<.01%     
==========================================
  Files         430      430              
  Lines       76974    76996      +22     
  Branches    12527    12528       +1     
==========================================
+ Hits        69043    69065      +22     
- Misses       5134     5135       +1     
+ Partials     2797     2796       -1

@larsoner
larsoner merged commit 799c2ec into mne-tools:master Oct 28, 2019
@larsoner
larsoner deleted the run branch October 28, 2019 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

subprocess env is not set properly

3 participants