alihaydaroglu / suite3d

Fast, accurate, volumetric cell detection. Developed for Light Beads Microscopy, usable for other volumetric 2P. In development
6 stars 0 forks source link

show_summary_plot fails if no crosstalk estimation #17

Closed alihaydaroglu closed 1 year ago

alihaydaroglu commented 1 year ago

via @oterocoronel

alihaydaroglu commented 1 year ago

fixed https://github.com/alihaydaroglu/s2p-lbm/commit/542c62e86969582d4372a12a7abac09653005bb4

oterocoronel commented 1 year ago

job.show_summary_plots() shows the offsets across planes, but then shows this error:


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[9], line 1
----> 1 job.show_summary_plots()

File /mnt/MarmoScope_Windows10/FreiwaldSync/MarmoScope/Analysis/SantiVersions/suite2p_LBM/s2p-lbm/suite2p/suite2p/suite3d/job.py:139, in Job.show_summary_plots(self)
    137     f2,ax = plt.subplots(figsize=(im.shape[0] // 200, im.shape[1] // 200), dpi=400);
    138     ax.imshow(im); ax.set_axis_off()
--> 139 if os.path.isfile(gamme_fit_img):
    140     im = imread(gamma_fit_img)
    141     f3,ax = plt.subplots(figsize=(im.shape[0] // 200, im.shape[1] // 200), dpi=150);

NameError: name 'gamme_fit_img' is not defined
alihaydaroglu commented 1 year ago

I really should be more careful and use a linter...