check_is_GenotypingProtocol#

pybrops.breed.prot.gt.GenotypingProtocol.check_is_GenotypingProtocol(v, vname)[source]#

Check if object is of type GenotypingProtocol. Otherwise raise TypeError.

Parameters:
  • v (object) – Any Python object to test.

  • vname (str) – Name of variable to print in TypeError message.

Return type:

None