Skip to content

Commit

Permalink
fix: Fix wrong if-clause condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Oct 25, 2024
1 parent 7972555 commit 53de458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/careamics_napari/widgets/tbplot_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def stop_tb(self: Self) -> None:

def open_tb(self: Self) -> None:
"""Open TensorBoard in the browser."""
if self.tb is not None and self.train_signal is not None:
if self.tb is None and self.train_signal is not None:
from tensorboard import program

self.tb = program.TensorBoard()
Expand Down

0 comments on commit 53de458

Please sign in to comment.