.check_proteodata
- proteopy.utils.check_proteodata(adata, *, layers=None)[source]
Validate that adata satisfies ProteoPy assumptions, raising on failure.
Thin wrapper around
is_proteodata()withraise_error=True. See that function for full documentation.- Parameters:
- Returns:
(True, "peptide")or(True, "protein")on success.- Return type:
- Raises:
ValueError – If any validation check fails.