ibl_alignment_gui.plugins.qc_dialog
Functions
|
Return the QC reason descriptions, or an empty list if |
Update the upload loaders of the given shanks with the QC information from the dialog. |
|
Gather QC inputs and update upload loader with the QC information. |
|
Show the QC dialog. |
|
Set up the QC dialog and connect its accepted signal to the callback. |
Classes
Dialog for collecting QC information from the user. |
- class ibl_alignment_gui.plugins.qc_dialog.QCDialog(view)[source]
Bases:
QDialogDialog for collecting QC information from the user.
- Parameters:
view (AlignmentGUIView) – The main application view.
- property apply_to_all: bool
Whether the assessment should be applied to all the shanks being uploaded.
- ibl_alignment_gui.plugins.qc_dialog.apply_to_shanks(controller, shanks)[source]
Update the upload loaders of the given shanks with the QC information from the dialog.
- Parameters:
controller (AlignmentController) – The main application controller.
shanks (list of str) – The shanks to apply the QC information to.
- Return type:
None
- ibl_alignment_gui.plugins.qc_dialog.callback(controller)[source]
Gather QC inputs and update upload loader with the QC information.
- Parameters:
controller (AlignmentController) – The main application controller.
- ibl_alignment_gui.plugins.qc_dialog.display(controller, shank, allow_apply_all=False)[source]
Show the QC dialog.
- Parameters:
controller (
AlignmentGUIController) – The main application controller.shank (str) – The shank identifier for which the QC dialog is displayed.
allow_apply_all (bool, default=False) – Whether to offer the option to apply the QC information to all the other shanks.
- Return type:
int- Returns:
- int
The result of the dialog execution (Accepted or Rejected).