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

Fix AZBA #305

Merged
merged 8 commits into from
May 23, 2024
Merged

Fix AZBA #305

merged 8 commits into from
May 23, 2024

Conversation

adamltyson
Copy link
Member

@adamltyson adamltyson commented May 21, 2024

Fixes the adult zebrafish atlas. The meshes were scaled correctly, so it just needed the parameter passing to the wrap up function. I also made some small changes, such as downloading the data with pooch. i removed the options for parallel processing, because it always seems to crash (as seen with other scripts).

There's still a lot that can be done to tidy up and standardise things, but I thought I'd raise this PR now as it seems to fix the issue (need to run the script through fully first to be sure though). I guess it's worth going through and standardising all the atlas scripts in one go @alessandrofelder, @viktorpm?

@alessandrofelder one thing that I don't understand - the meshes look fine in brainrender, but in brainrender-napari, they are basically invisible. The easiest way to know they are there is because they make the underlying arrays look darker. I haven't seen this before, do you have any idea?

We're going through all the atlases to fix any problems, but #213 specifically mentions the human atlas and this one. Following #290, I guess this PR closes #213.

@adamltyson
Copy link
Member Author

The packaged atlas looks fine, and passes the validation script. It just looks weird in brainrender-napari. The problem seems to be specific to the root mesh though:
azba

@viktorpm
Copy link
Contributor

Yes, there's already a draft PR for standardisation: #296

@adamltyson
Copy link
Member Author

From AF: the RGB triplet for the root mesh may be black, should update it to white.

Copy link
Member

@alessandrofelder alessandrofelder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the potential RGB issue, looks good to me.

@adamltyson
Copy link
Member Author

RGB issue fixed, atlas passes validation script and works well in brainrender, brainrender-napari & brainreg.

@adamltyson adamltyson merged commit e1741bf into main May 23, 2024
10 of 11 checks passed
@adamltyson adamltyson deleted the azba branch May 23, 2024 08:10
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.

[Feature] Force all atlas 3D meshes to be in consistent "brainglobe" space, aligned to the annotations
3 participants