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

Fixing princeton_mouse atlas mesh #253

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

viktorpm
Copy link
Contributor

@viktorpm viktorpm commented Mar 6, 2024

Description

The size and orientation of the princeton_mouse_20um atlas mesh are incorrect. This PR fixes it.

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

References

fixes #251

How has this PR been tested?

  • regenerating the atlas
  • running validation functions
  • visual check in Napari

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality (unit & integration)
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@viktorpm viktorpm changed the title removing rotated_annotations to fix mesh orientation Fixing princeton_mouse atlas mesh Mar 6, 2024
@viktorpm
Copy link
Contributor Author

viktorpm commented Mar 7, 2024

Orientation is fixed:

image

@viktorpm
Copy link
Contributor Author

viktorpm commented Mar 8, 2024

Mesh scaling is fixed:

image

@viktorpm viktorpm marked this pull request as ready for review March 8, 2024 10:42
@@ -232,6 +232,7 @@ def add_parent_id(child_id):
hemispheres_stack=None,
cleanup_files=False,
compress=True,
scale_meshes=True,
Copy link
Member

Choose a reason for hiding this comment

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

Love a one-line fix 😁

was commented out and a relic of former brainrender issues
@alessandrofelder alessandrofelder merged commit f1371df into main Mar 11, 2024
8 checks passed
@alessandrofelder alessandrofelder deleted the fixing_princeton_mesh_issue_251 branch March 11, 2024 11:11
@adamltyson
Copy link
Member

Shall we package and release this update, or are there others coming?

@alessandrofelder
Copy link
Member

Yes, @viktorpm 's next step is package and release :)

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.

Mesh issue with the Princeton Mouse Brain Atlas
3 participants