BlueBrain / BluePyEfe

BluePyEfe: Blue Brain Python E-feature extraction
https://bluepyefe.readthedocs.io/en/latest/
Other
14 stars 12 forks source link

Force evaluation for built-in map() #160

Closed ilkilic closed 11 months ago

ilkilic commented 11 months ago

When using the built-in map() function, force immediate evaluation by converting its lazy iterator result to a list. This ensures that the _plot function is executed immediately when using the standard map() but remains unchanged for other mappers.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b4aaba0) 63.41% compared to head (4a94a0a) 66.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #160 +/- ## ========================================== + Coverage 63.41% 66.00% +2.58% ========================================== Files 34 34 Lines 2154 2156 +2 ========================================== + Hits 1366 1423 +57 + Misses 788 733 -55 ``` | [Files](https://app.codecov.io/gh/BlueBrain/BluePyEfe/pull/160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain) | Coverage Δ | | |---|---|---| | [bluepyefe/plotting.py](https://app.codecov.io/gh/BlueBrain/BluePyEfe/pull/160?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain#diff-Ymx1ZXB5ZWZlL3Bsb3R0aW5nLnB5) | `85.71% <66.66%> (+0.23%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/BlueBrain/BluePyEfe/pull/160/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.