haddock.modules.analysis.caprieval.capri module
CAPRIeval-specific helpers: weight dumping and CNS step detection.
All shared CAPRI computation that are being used both in caprieval and in caprifilter (namely CAPRI class and metric functions) are in haddock.libs.libcapri.
- haddock.modules.analysis.caprieval.capri.get_previous_cns_step(sel_steps: list, st_order: int) str | None[source]
Get the previous CNS step.
- Parameters:
sel_steps (list) – List of folder names that are modules.
st_order (int) – Index of the current module.
- Returns:
cns_step (str or None) – Name of the most recent CNS step.