root mesh of atlas not visualised
See original GitHub issueDescribe 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
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:
- Created a year ago
- Comments:12 (2 by maintainers)
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.
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.