Skip to content

MRG, MAINT: Cleaner resource use and test tols - #8050

Merged
larsoner merged 13 commits into
mne-tools:masterfrom
larsoner:tols
Jul 23, 2020
Merged

MRG, MAINT: Cleaner resource use and test tols#8050
larsoner merged 13 commits into
mne-tools:masterfrom
larsoner:tols

Conversation

@larsoner

Copy link
Copy Markdown
Member

Testing on my Windows machine I found that some of the tolerances were too strict (minor linalg differences when reg=0 in beamformer or for gamma_map). Also I noticed that there were un-freed resources in test_what.py, which I think is causing this in master on Azure:

mne\io\tests\test_utils.py .                                             [ 41%]
##[error]Cmd.exe exited with code '-1073741819'.

This fixes it by being safer about fiff_open.

@larsoner larsoner changed the title MRG, MAINT: Cleaner resource use and test tols WIP, MAINT: Cleaner resource use and test tols Jul 23, 2020
@larsoner

Copy link
Copy Markdown
Member Author

Actually I think the Azure error is really numpy/numpy#16913. I'll do a full run here with -vvs just to confirm, but it does seem to be the case that a simple np.dot is the problem in this Azure run.

@larsoner larsoner changed the title WIP, MAINT: Cleaner resource use and test tols MRG, MAINT: Cleaner resource use and test tols Jul 23, 2020

@agramfort agramfort left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM provided CIs are green

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.

2 participants