Veto#

Functions to manage the veto files that avoid multiple fatal-ending trials. Whenever a processing step ends with the same error more than twice for a given sequence, that sequence is vetoed and manual intervention in needed to solve the issue.

Reference/API#

osa.veto Module#

Handle the list of closed and vetoed sequences.

Functions#

failed_history(history_file)

Check if a processing step has failed twice in a given history file.

get_veto_list(sequence_list)

Get a list of vetoed sequences.

get_closed_list(sequence_list)

Get the list of closed sequences.

set_veto_action(name, sequence_list)

Set the action for a given sequence to veto.

set_closed_action(name, sequence_list)

Set the action of a closed sequence object.

update_vetoes(sequence_list)

Create a .veto file for a given sequence if reached maximum number of trials.

set_closed_sequence(sequence)

Creates a .closed lock file for a given sequence.