[WIP] refactor to prepare digitization#5986
[WIP] refactor to prepare digitization#5986massich wants to merge 15 commits intomne-tools:masterfrom
Conversation
|
Maybe I should propose a different refractor where io stays in io. And at some point we can get rid of having our structures inside io |
|
This pull request introduces 11 alerts when merging 32f17c8 into 3d12b2b - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
That would probably be easier. Moving things out of io makes problems harder |
|
I agree with @larsoner I would keep digitization.py in mne/io to avoid circular import mess |
32f17c8 to
29c6c9f
Compare
Codecov Report
@@ Coverage Diff @@
## master #5986 +/- ##
=========================================
- Coverage 89.17% 88.87% -0.3%
=========================================
Files 416 422 +6
Lines 74933 75149 +216
Branches 12352 12392 +40
=========================================
- Hits 66823 66792 -31
- Misses 5226 5462 +236
- Partials 2884 2895 +11 |
29c6c9f to
6c4423e
Compare
|
This pull request introduces 4 alerts when merging 6c4423e into ce50c2b - view on LGTM.com new alerts:
Comment posted by LGTM.com |
6c4423e to
5c64b68
Compare
d09c86b to
b8218bb
Compare
|
This pull request introduces 1 alert when merging b8218bb into 4555011 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
b8218bb to
50e46f0
Compare
|
This pull request introduces 3 alerts when merging 50e46f0 into b3dfd7a - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
At d1eaa8d, @larsoner do you think that its worth to factor it out? I would like to be able to write something like (if I understand how Bunch works): |
|
This pull request introduces 3 alerts when merging 9fe020b into b3dfd7a - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
The travis error seems to not be specific to this PR. (When I run make pep on the current mne dev branch, I get the same error.) Is there anything I could help with here? |
|
I don't get errors with It's possible one of the PEP checkers updated and got more strict |
It's also possible that I'm missing something. My read of the travis output suggests that lines 3386-3391 are the problem. When I run Am I misreading this? Thanks! |
|
The failure it's much earlier in line 3324. make flake (which is called by make pep) fails on this PR, but it doesn't get reported until all pep targets are run, so you have to look father up to see it |
9fe020b to
ce3c3ef
Compare
|
This pull request introduces 2 alerts when merging ce3c3ef into 9cc5d14 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
This pull request introduces 2 alerts when merging 890a232 into 92f61fa - view on LGTM.com new alerts:
Comment posted by LGTM.com |
890a232 to
ea07437
Compare
|
This pull request introduces 2 alerts when merging ea07437 into 92f61fa - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
|
Excellent, thanks for figuring this out |
ea07437 to
b5c5504
Compare
|
This pull request introduces 2 alerts when merging b5c5504 into 2dd7aa0 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
This pull request introduces 2 alerts when merging 3fcf2b5 into c4a83c5 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
|
This pull request introduces 2 alerts when merging 577900c into b9dcbe1 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
577900c to
3fcf2b5
Compare
|
This pull request introduces 2 alerts when merging 3fcf2b5 into 03bc75e - view on LGTM.com new alerts:
Comment posted by LGTM.com |
be646e3 to
662dd13
Compare
|
This pull request introduces 2 alerts when merging 662dd13 into 3cc76b9 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
Codecov Report
@@ Coverage Diff @@
## master #5986 +/- ##
==========================================
- Coverage 89.31% 89.07% -0.24%
==========================================
Files 405 422 +17
Lines 74266 75143 +877
Branches 12297 12388 +91
==========================================
+ Hits 66330 66933 +603
- Misses 5072 5329 +257
- Partials 2864 2881 +17 |
|
This pull request introduces 2 alerts when merging e16c5af into 3cc76b9 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
Co-authored-by: Teon Brooks <teon.brooks@gmail.com>
e16c5af to
51ea4dc
Compare
|
This pull request introduces 2 alerts when merging 51ea4dc into 5803738 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
The idea of this PR was to move all the code that seems to be dealing with digitization in a single place before start changing code and factoring similar functions.
But I get in dependency hell.
Any help is wellcome. @agramfort @larsoner