Fetch atlas meshes by loading meshio and converting to vedo mesh#461
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #461 +/- ##
==========================================
+ Coverage 89.48% 89.52% +0.03%
==========================================
Files 27 27
Lines 1294 1298 +4
==========================================
+ Hits 1158 1162 +4
Misses 136 136 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
adamltyson
left a comment
There was a problem hiding this comment.
This all looks sensible to me, although for some reason everything is failing locally for me. Not sure what's going on with my installation.
Could load_mesh_from_file be deleted at this point?
|
I don't think |
Is this with Could you try deleting |
|
Even after deleting Traceback |
|
I can replicate on Mac, weird that CI passes! I'll move this to draft for now |
|
Issue should be solved by brainglobe/brainglobe-atlasapi#860 |
|
Works for me with a clean installation :) |
|
Perfect! I'll merge this now to unblock brainglobe-heatmap. |
Before submitting a pull request (PR), please read the contributing guide.
Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)
Description
What is this PR
Why is this PR needed?
Following the release of
brainglobe-atlasapi==3.0.0rc0meshes are no longer stored on disk as .obj files.brainrenderaccesses these files directly to load meshes intovedo.What does this PR do?
Alters the loading path for atlas meshes.
brainrendernow requests the mesh directly frombrainglobe-atlasapireceiving ameshio.Mesh, this is converted into avedo.Meshand passed through as before.References
#460
How has this PR been tested?
All tests pass locally and local examples involving atlas meshes have been inspected in an environment with
brainglobe-atlasapi==3.0.0rc0andbrainglobe-atlasapi==2.3.1Is this a breaking change?
No, this change is backwards compatible with
brainglobe-atlasapi<3.0.0Does this PR require an update to the documentation?
No
Checklist: