saving_status
Status and updates generated by the saving worker.
SavingSignalGroup #
Bases: SignalGroup
Signal group for the saving status dataclass.
Source code in src/careamics_napari/signals/saving_status.py
state instance-attribute #
Current state of the saving process.
SavingState #
Bases: IntEnum
Saving state.
Source code in src/careamics_napari/signals/saving_status.py
SavingStatus dataclass #
Status of the saving thread.
This dataclass is used to update the saving UI with the current status and progress of the saving. Listeners can be registered to the events attribute to be notified of changes in the value of the attributes (see psygnal documentation for more details).
Source code in src/careamics_napari/signals/saving_status.py
events instance-attribute #
Attribute allowing the registration of parameter-specific listeners.
state = SavingState.IDLE class-attribute instance-attribute #
Current state of the saving process.
update(new_update) #
Update the status with the new update.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
new_update | SavingUpdate | New update to apply. | required |
Source code in src/careamics_napari/signals/saving_status.py
SavingUpdate dataclass #
Update from the saving worker.
Source code in src/careamics_napari/signals/saving_status.py
SavingUpdateType #
Bases: str, Enum
Type of saving update.