brainglobe / brainrender

a python based software for visualization of neuroanatomical and morphological data.
https://brainglobe.info/documentation/brainrender/index.html
BSD 3-Clause "New" or "Revised" License
538 stars 75 forks source link

Update from imio to brainglobe_utils.IO.image #346

Closed adamltyson closed 3 months ago

adamltyson commented 4 months ago

This was meant to be a follow on from https://github.com/brainglobe/brainglobe-utils/pull/73, but the use in brainrender was so out of date, it's essentially independent. However, this PR reflects the latest API, so needs https://github.com/brainglobe/brainglobe-utils/pull/73 to pass. It will also need a new version of vedo too, but that issue is unrelated to this PR.

I also updated this example slightly and removed some unnecessary code.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.08%. Comparing base (42c3621) to head (c3acbc4). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #346 +/- ## ========================================== - Coverage 86.47% 85.08% -1.40% ========================================== Files 27 27 Lines 1220 1220 ========================================== - Hits 1055 1038 -17 - Misses 165 182 +17 ```

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