sleap.gui.dialogs.delete

Dialog for deleting various subsets of instances in dataset.

class sleap.gui.dialogs.delete.DeleteDialog(context: CommandContext, *args, **kwargs)[source]

Dialog for deleting various subsets of instances in dataset.

Parameters

context – The CommandContext from which this dialog is being shown. The context provides both a labels (Labels) and a state (GuiState).

get_frames_instances(instance_type_value: str, frames_value: str, tracks_value: str) → List[Tuple[sleap.instance.LabeledFrame, sleap.instance.Instance]][source]

Get list of instances based on drop-down menu options selected.