tracts.driver_utils._print_run_intro#
- _print_run_intro(parameter_handler, model, start_params_list, bound_func, title_message, two_steps_optimization, autosomes_in_step_2, steps=None)#
Print the optimization subtitle and starting-parameter table for a run.
This helper centralizes the pre-run console/log output shown before each optimization phase. Time-parameter transition logging is temporarily disabled while printing the starting-parameter table to avoid emitting admissibility transition warnings during display-only conversions.
- Parameters:
parameter_handler (
FixedParametersHandler) – Parameter handler used for subtitle generation and parameter conversion.model – Model object used as fallback metadata source when needed.
start_params_list (
list[ndarray]) – Starting parameters (in optimizer units) for all runs in the phase.bound_func (
Callable[[ndarray],float]) – Bound/violation function used to flag out-of-bounds starts in the table.title_message (
str) – Title printed above the starting-parameter table.two_steps_optimization (
bool) – Whether optimization is single-step or two-step.autosomes_in_step_2 (
bool) – In two-step mode, whether step 2 uses autosomal data in addition to allosomal data.steps (
list[int|str] |None) – Active step selection used to compute subtitle and displayed columns.
- Return type:
None