-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update dependencies #235
Update dependencies #235
Conversation
for more information, see https://pre-commit.ci
Thanks @marcomusy @adamltyson did something change in the way atlases are created, or in the atlas itself? Also, why are the screenshots not working? |
As far as I know, nothing has changed. The Allen mouse atlas hasn't changed since 2020. I think everything is the correct way round in the released version on PyPI (it's just installation that's a problem).
I remember these conversations, so I hoped you might have an idea of what was going on. There seems to be two potential causes:
I don't want to start messing with rescaling/reorienting things myself because:
I should also flag that there are other examples too, e.g. in the gene expression data, the gene expression lego blocks are rotated 90 deg wrt the brain. |
But then I don't get why
gives a brain with the left-right axis along z. Either something changed in the atlas or in vedo or one of its dependencies? I should have some time this weekend to have a look. But if you use brainrender from the main branch do you still see these bugs? |
I'm sure the atlas itself hasn't changed. I don't think anything relevant in the API has changed.
TBH I didn't get it running on my machine without making the changes in this PR. I think the released version is ok, I haven't seen any bug reports. |
Hi, I cannot guarantee that something relevant to this issue has not change in
you see the "original" coordinates in the 840 files without any transformation of any kind.. so the bounding box is
I can find some time to look into About the screenshot it may be a vtk thing (if so there is a work-around). |
@alessandrofelder can this be closed in light of #250? |
Yes, I think so. (We shouldn't forget about the discussion here though!) |
This PR starts the process of bringing the dependencies up to date, hopefully making brainrender easier to maintain. It also updates all the tooling used (testing, linting etc) to match the rest of brainglobe (again, hopefully to make maintenance easier).
However, a number of issues remain. One of the most obvious is that different actors are rendered in different places (see example below). I haven't managed to track down the issue, and I was hoping @FedeClaudi, that you may have an idea?
Example script to reproduce (no screenshot ATM because brainrender screenshots don't work on my system, and render() blocks my keyboard/mouse!: