Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests to all connectivity features (many are buggy) #161

Merged
merged 3 commits into from
Mar 2, 2022

Conversation

xgui3783
Copy link
Member

@xgui3783 xgui3783 commented Mar 1, 2022

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2022

Codecov Report

Merging #161 (56bfb95) into main (e3a1b69) will increase coverage by 3.33%.
The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   57.38%   60.71%   +3.33%     
==========================================
  Files          32       32              
  Lines        4301     4343      +42     
==========================================
+ Hits         2468     2637     +169     
+ Misses       1833     1706     -127     
Impacted Files Coverage Δ
siibra/retrieval/requests.py 80.26% <ø> (+1.78%) ⬆️
siibra/core/serializable_concept.py 94.28% <66.66%> (-2.69%) ⬇️
siibra/features/connectivity.py 92.34% <90.90%> (+37.70%) ⬆️
siibra/core/space.py 44.34% <91.66%> (+1.38%) ⬆️
siibra/core/atlas.py 71.81% <100.00%> (+0.52%) ⬆️
siibra/core/datasets.py 89.21% <100.00%> (+0.21%) ⬆️
siibra/core/parcellation.py 76.74% <100.00%> (+1.15%) ⬆️
siibra/core/region.py 70.27% <100.00%> (+3.14%) ⬆️
siibra/features/ieeg.py 84.71% <100.00%> (+0.60%) ⬆️
siibra/features/receptors.py 74.24% <100.00%> (+0.26%) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3a1b69...56bfb95. Read the comment docs.

xgui3783 added 2 commits March 2, 2022 09:17
rather than use tmpfile, now uses BytesIO. tmpfile does not seem to be
managed by CACHE & maxsize, and can grow infinitely in size.

The test suite in test_connectivity, for example, fills tempdir with
multiple 400mb zip files, and are not managed or removed.
@xgui3783 xgui3783 merged commit 0b895bd into main Mar 2, 2022
@xgui3783 xgui3783 deleted the test_connectivityToModelBuggy branch March 2, 2022 10:35
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