Repository navigation
[MRG] scale_source_space(): add support for vol source spaces - #4894
Conversation
np.linalg.norm(np.array([-0.0005, -0.0005, 0.0005], dtype=np.float32)) --> nan
0f98743 to
40624ea
Compare
|
you seem to ahve some legit travis failures |
|
Ah, so the |
Codecov Report
@@ Coverage Diff @@
## master #4894 +/- ##
==========================================
- Coverage 87.7% 87.64% -0.06%
==========================================
Files 351 351
Lines 62761 62832 +71
Branches 10757 10767 +10
==========================================
+ Hits 55043 55071 +28
- Misses 4969 5007 +38
- Partials 2749 2754 +5 |
This is probably a function of your spacing. Change it to 2cm and it should be fast. If it's not, we should look at which step is slow. (Another alternative: you can hack it by copying the |
|
still WIP ? or MRG now? |
I am already using |
|
This fixed the tests, so I will set this to MRG |
larsoner
left a comment
There was a problem hiding this comment.
LGTM +1 for merge.
Does it add much time to the tests?
| from shutil import copyfile | ||
|
|
||
| from nose.tools import assert_equal, assert_raises, assert_true | ||
| from nose.tools import assert_equal, assert_raises, assert_true, assert_is_not |
There was a problem hiding this comment.
FYI we have gone to pytest so you can just do assert x is not y in tests now
There was a problem hiding this comment.
Do you want me to update the tests in this PR?
|
I think it added about a second on my Mac mini. |
|
@larsoner merge if you're happy too |
|
@christianbrodbeck I don't get So I am a bit confused by that commit message. But we can merge in any case. |
|
It might be the specific version/platform/distribution combination? I figured using |
Resurrecting #1205...