Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDominguez authored Jul 23, 2024
1 parent 706988c commit 01d0949
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions napari_spotiflow/_dock_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ def _progress(it, **kwargs):
details_flow = np.stack([det.flow for det in details_t], axis=0)

if cnn_output:
# layers.append((.5*(1+details_flow), dict(name=f'Stereographic flow ({image.name})',
# ), 'image'))
# layers.append((details_prob_heatmap, dict(name=f'Gaussian heatmap ({image.name})',
# colormap='magma'), 'image'))
viewer.add_image(.5*(1+details_flow), name=f'Stereographic flow ({image.name})')
viewer.add_image(details_prob_heatmap, name=f'Gaussian heatmap ({image.name})', colormap='magma')

Expand All @@ -282,9 +278,6 @@ def _progress(it, **kwargs):
if l.name == points_layer_name:
viewer.layers.remove(l)

# layers.append((pred_points, dict(name=f'Spots ({image.name})',
# **_point_layer2d_default_kwargs), 'points'))

viewer.add_points(pred_points, name=points_layer_name, **_point_layer2d_default_kwargs)

progress_bar.hide()
Expand Down

0 comments on commit 01d0949

Please sign in to comment.