Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FIX random crashes in save_3d_views #445

Merged
merged 1 commit into from
May 18, 2022
Merged

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants