moscot.problems.cross_modality.TranslationProblem.add_problem

TranslationProblem.add_problem(key, problem, *, overwrite=False, **kwargs)

Add a subproblem.

See also

Parameters:
Return type:

BaseCompoundProblem[TypeVar(K, bound= Hashable), TypeVar(B, bound= OTProblem)]

Returns:

: Self and updates the following fields: