kaizhang/SnapATAC2

save images

TingTingShao opened this issue · 3 comments

Hi,

Code

snap.pl.umap(dat, color=f"leiden_{resolution}", use_rep="X_umap", out_file=output_filename)

Problem: image written to the disk, but it's still running, no sign of finishing up. Could I please ask why? it has been bothering me for a while, even when I terminate the run, the images are still there, but it just can not finish the run by itself unless force-quittting.

Thanks!
tingting

Try saving the image as a png file.

The otput_filenames are defined as .png files.

I think saving images step is still a bit slow, and another tip is that the core can only be set as 1 to prevent read anndataset conflicts.