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...
I realized that after calling
getImage
, sometimes the view was not rendered. I believe this is what caused the random crashes withsave_3d_views
. Forcing the view to be drawn again aftergetImage
solves the random crashes. (Or at least, I've been runningcortex.export.plot_panels
for ~20 times in a loop and it hasn't crashed...