question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

root mesh of atlas not visualised

See original GitHub issue

Describe the bug Brainrender GUI does not visualise the root mesh of the atlas selected. Same problem when using pip install brainrender and pip install -U git+https://github.com/BrancoLab/BrainRender.git

Besides me, there are two other users hat I know of who have the same issue.

To Reproduce I believe version 2.0.5.3 of brainrender and vedo-2021.0.5 (ran pip install brainrender today) both macOS 12.4 and Windows 10
both Python 3.6 and 3.7 in vitrual environments

Then tell us the steps to reproduce the behavior: ran brainrender-gui -a allen_mouse_10um in conda env needed to install PyQt5 by running pip install PyQt5 after brainrender installation

Expected behavior GUI to start and open a window visualizing the root mesh of the atlas selected.

Screenshots Screenshot 2022-08-11 at 15 11 44

In case it’s relevant this is printed in the terminal:

qt.qpa.fonts: Populating font family aliases took 780 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost. 
qt.qpa.window: <QNSWindow: 0x7f8df636de00; contentView=<QNSView: 0x7f8df4bdd930; QCocoaWindow(0x600000b1a890, window=QWidgetWindow(0x600001844360, name="QWidgetClassWindow"))>> has active key-value observers (KVO)! These will stop working now that the window is recreated, and will result in exceptions when the observers are removed. Break in QCocoaWindow::recreateWindowIfNeeded to debug.
qt.qpa.window: <QNSWindow: 0x7f8df506fc10; contentView=<QNSView: 0x7f8df506f800; QCocoaWindow(0x600000b04840, window=QWidgetWindow(0x6000018b1620, name="CentralColumnWindow"))>> has active key-value observers (KVO)! These will stop working now that the window is recreated, and will result in exceptions when the observers are removed. Break in QCocoaWindow::recreateWindowIfNeeded to debug.
qt.qpa.window: <QNSWindow: 0x7f8df4bdb150; contentView=<QNSView: 0x7f8df638eca0; QCocoaWindow(0x600000b1eaa0, window=QWidgetWindow(0x6000018aebe0, name="QSplitterClassWindow"))>> has active key-value observers (KVO)! These will stop working now that the window is recreated, and will result in exceptions when the observers are removed. Break in QCocoaWindow::recreateWindowIfNeeded to debug.
qt.qpa.window: <QNSWindow: 0x7f8df5255a20; contentView=<QNSView: 0x7f8df5255610; QCocoaWindow(0x600000b10a50, window=QWidgetWindow(0x6000018a7540, name="MainWidgetWindow"))>> has active key-value observers (KVO)! These will stop working now that the window is recreated, and will result in exceptions when the observers are removed. Break in QCocoaWindow::recreateWindowIfNeeded to debug.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
darikoneilcommented, Nov 17, 2022

I can confirm @Tywang-720 's fix worked for me as well (Windows 10, Python 3.7, PyCharm). The only dependency that seems to change is that the terminal downgraded a vtk package when installing 2.0.4.5, otherwise it seems all requirements were satisfied. The downgrade to vtk 9.0.0 was kept with the final 2.0.5.3 version, so perhaps this is the issue.

1reaction
Tywang-720commented, Oct 25, 2022

Hi: I happened to solve this problem with an emprical way. My system is Windows10. I ran brainrender 2.0.5.3 from Anaconda3 (python 3.6).

I will descirbe the process below: First I tried the above methods (click root), but it gave no response. Then I tried to roll back to history versions: I sequentially installed brainrender 2.0.4.5, 2.0.4.7, 2.0.5.0, 2.0.5.1. None of those could open brainrender-gui on my machine. Then I installed brainrender 2.0.5.3 again, this time brainrender could visualize the brain.

Hope this information helps.

So, it seems to me that, if one install brainrender 2.0.5.3 directly, then this issue would be there. After he installed history versions of brainrender, then some missing part is back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A single-cell Arabidopsis root atlas reveals developmental ...
Thus, there is currently no comprehensive Arabidopsis root atlas that ... Individual fate probabilities can be visualized on the atlas UMAP ...
Read more >
Imaging of the atlas (C1) and axis (C2) - PubMed
It has limitations in visualizing transversely oriented fractures such as high dens fractures, transverse fractures of the facet joints (although widening of ...
Read more >
Adding a new atlas - brainglobe
While most atlases will have a set of 3D images that can be used as annotated and template stacks, not all atlases will...
Read more >
ROOTUsersGuide - CERN
-b ROOT session runs in batch mode, without graphics display. This mode is useful in case one does not want to set the...
Read more >
Correcting Circling or Girdling Tree Roots
trees planted in compact soil can form circling root systems. ... lifts the soil, the tree has circling roots & has not become...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found