lyse.routines.RoutineBox
- class lyse.routines.RoutineBox(app, container, exp_config, filebox, from_filebox, to_filebox, output_box_port, multishot=False)[source]
Bases:
object- __init__(app, container, exp_config, filebox, from_filebox, to_filebox, output_box_port, multishot=False)[source]
Methods
__init__(app, container, exp_config, ...[, ...])add_routines(routine_files[, clear_existing])Add routines to the routine box, where routine_files is a list of tuples containing the filepath and whether the routine is enabled or not when it is added.
do_analysis(filepath)Run all analysis routines once on the given filepath, which is a shot file if we are a singleshot routine box
on_model_item_changed(item)on_select_all_state_changed(state)on_set_selected_triggered(active)remove_selection([confirm])reorder(order)todo()How many analysis routines are not done?
Attributes
- COL_ACTIVE = 0
- COL_NAME = 2
- COL_STATUS = 1
- ROLE_FULLPATH = 257
- ROLE_SORTINDEX = 258
- add_routines(routine_files, clear_existing=False)[source]
Add routines to the routine box, where routine_files is a list of tuples containing the filepath and whether the routine is enabled or not when it is added. if clear_existing == True, then any existing analysis routines will be cleared before the new ones are added.
- do_analysis(filepath)[source]
Run all analysis routines once on the given filepath, which is a shot file if we are a singleshot routine box