Skip to content

Commit

Permalink
use superqt.utils.threadworker (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Jan 23, 2025
1 parent e3fa2cb commit c456c4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/careamics_napari/workers/prediction_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Optional, Union

from careamics import CAREamist
from napari.qt.threading import thread_worker
from superqt.utils import thread_worker

from careamics_napari.signals import (
PredictionSignal,
Expand Down
2 changes: 1 addition & 1 deletion src/careamics_napari/workers/saving_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from collections.abc import Generator

from careamics import CAREamist
from napari.qt.threading import thread_worker
from superqt.utils import thread_worker

from careamics_napari.signals import (
ExportType,
Expand Down
2 changes: 1 addition & 1 deletion src/careamics_napari/workers/training_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import napari.utils.notifications as ntf
from careamics import CAREamist
from careamics.config.support import SupportedAlgorithm
from napari.qt.threading import thread_worker
from superqt.utils import thread_worker

from careamics_napari.careamics_utils import UpdaterCallBack
from careamics_napari.careamics_utils.configuration import create_configuration
Expand Down

0 comments on commit c456c4b

Please sign in to comment.