check_is_BinarySelectionProblem#
- pybrops.breed.prot.sel.prob.BinarySelectionProblem.check_is_BinarySelectionProblem(v, vname)[source]#
Check if object is of type BinarySelectionProblem, otherwise raise TypeError.
- Parameters:
v (object) – Any Python object to test.
vname (str) – Name of variable to print in TypeError message.
- Return type:
None