ovo.app.components.acceptance_thresholds_components

Module Contents

Functions

thresholds_and_histograms_component

Adjust thresholds using sliders and show histograms for each descriptor, return new thresholds.

thresholds_input_component

Adjust thresholds using sliders, return new thresholds.

single_threshold_input_component

descriptor_histogram_component

filter_designs_by_thresholds_cached

accept_designs_dialog

display_current_thresholds

API

ovo.app.components.acceptance_thresholds_components.thresholds_and_histograms_component(selected_thresholds: dict[str, ovo.Threshold], all_design_ids: list[str], max_items_row=3) dict[str, ovo.Threshold]

Adjust thresholds using sliders and show histograms for each descriptor, return new thresholds.

ovo.app.components.acceptance_thresholds_components.thresholds_input_component(selected_thresholds: dict[str, ovo.Threshold], max_items_row: int = 3) dict[str, ovo.Threshold]

Adjust thresholds using sliders, return new thresholds.

ovo.app.components.acceptance_thresholds_components.single_threshold_input_component(threshold: ovo.Threshold, descriptor: ovo.app.utils.cached_db.Descriptor, descriptor_values: pandas.Series | None = None) ovo.Threshold
ovo.app.components.acceptance_thresholds_components.descriptor_histogram_component(descriptor_values: pandas.Series, descriptor: ovo.app.utils.cached_db.Descriptor, threshold: ovo.Threshold)
ovo.app.components.acceptance_thresholds_components.filter_designs_by_thresholds_cached(all_design_ids: list[str], thresholds: dict[str, ovo.Threshold]) tuple[list[str], dict[str, int]]
ovo.app.components.acceptance_thresholds_components.accept_designs_dialog(pools: list[ovo.core.database.Pool], jobs: list[ovo.core.database.DesignJob], all_design_ids: list[str], new_accepted_design_ids: list[str], num_accepted_by_descriptor: dict[str, int], selected_thresholds: dict[str, ovo.Threshold])
ovo.app.components.acceptance_thresholds_components.display_current_thresholds(selected_thresholds: dict[str, ovo.Threshold], all_design_ids: list[str], num_accepted_by_descriptor: dict[str, int])