Skip to content

Conversation

@mvdoc
Copy link
Contributor

@mvdoc mvdoc commented May 18, 2022

I realized that after calling getImage, sometimes the view was not rendered. I believe this is what caused the random crashes with save_3d_views. Forcing the view to be drawn again after getImage solves the random crashes. (Or at least, I've been running cortex.export.plot_panels for ~20 times in a loop and it hasn't crashed...

Copy link
Contributor

@TomDLT TomDLT left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@mvdoc mvdoc merged commit 7ba5449 into gallantlab:main May 18, 2022
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.

2 participants