Skip to content

Commit

Permalink
Update plugin_crf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Achard committed Dec 15, 2023
1 parent e962fba commit 2283e41
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions napari_cellseg3d/code_plugins/plugin_crf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ def __init__(self, parent=None):

def _build(self):
if not CRF_INSTALLED:
self.sa_choice.setVisible(False)
self.sb_choice.setVisible(False)
self.sg_choice.setVisible(False)
self.w1_choice.setVisible(False)
self.w2_choice.setVisible(False)
self.n_iter_choice.setVisible(False)
###
ui.add_widgets(
self.layout,
[
Expand Down

0 comments on commit 2283e41

Please sign in to comment.