FZJ-INM1-BDA / siibra-python

Software interfaces for interacting with brain atlases - Python client
Apache License 2.0
46 stars 8 forks source link

Fix: fetch specific label from gii labels #574

Closed AhmetNSimsek closed 4 months ago

AhmetNSimsek commented 4 months ago

Test snippet:

import siibra
from nilearn import plotting
mp = siibra.get_map('julich 2.9', 'fsaverage')
mesh = mp.fetch('hoc1 left')
plotting.view_surf(
    surf_mesh=[mesh['verts'], mesh['faces']],
    surf_map=mesh['labels'],
    cmap=mp.get_colormap(),
    symmetric_cmap=False, colorbar=False
).open_in_browser()
xgui3783 commented 4 months ago

re: test snippet mp is not defined anywhere?

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 50.32%. Comparing base (5a0e6b3) to head (342974e). Report is 432 commits behind head on main.

Files Patch % Lines
siibra/volumes/providers/gifti.py 25.00% 3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #574 +/- ## =========================================== + Coverage 36.81% 50.32% +13.50% =========================================== Files 61 69 +8 Lines 5421 6694 +1273 =========================================== + Hits 1996 3369 +1373 + Misses 3425 3325 -100 ```

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