GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Delete_Retrieval.Frame_Delete_Retrieval module

Frame Delete Retrieval Module.

This module provides a GUI panel for managing retrieval operations including deletion from archive and database, comment management, and retrieval resumption.

class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Delete_Retrieval.Frame_Delete_Retrieval.FrameDeleteRetrieval(parent, color, row, column, path_default, frame_input, window, **kwargs)[source]

Bases: MyPanel

GUI panel for managing retrieval operations.

This class provides functionality for: - Deleting retrievals from archive and/or database - Managing comments for retrievals - Resuming interrupted retrievals - Displaying retrieval information

__init__(parent, color, row, column, path_default, frame_input, window, **kwargs)[source]

Initialize the FrameDeleteRetrieval panel.

Parameters:
  • parent – Parent widget

  • color – Background color for the panel

  • row – Grid row position

  • column – Grid column position

  • path_default – Default path for database operations

  • frame_input – Reference to the input frame

  • window – Main window reference

  • **kwargs – Additional keyword arguments passed to parent

delete_from_archive()[source]

Delete retrieval files from the archive directory only.

delete_from_database()[source]

Delete retrieval record from the database only.

delete_from_both()[source]

Delete retrieval from both database and archive.

show_comment()[source]

Load and display comments for the selected retrieval.

update_comment()[source]

Update comments for the selected retrieval.

resume_retrieval()[source]

Resume an interrupted retrieval with a new random seed.

display_info_retrieval()[source]

Display information about the selected retrieval.

get_row()[source]

Get the currently selected row data from the table.

Returns:

(target, arr_values, selected_name) or (None, None, None) if no row selected

Return type:

tuple

delete_1()[source]

Legacy method name - calls delete_from_archive.

delete_2()[source]

Legacy method name - calls delete_from_database.

delete_3()[source]

Legacy method name - calls delete_from_both.

show_comment_func()[source]

Legacy method name - calls show_comment.

update_comment_func()[source]

Legacy method name - calls update_comment.