check_is_WeightedGenomicEstimatedBreedingValueMatrix#

pybrops.model.wgebvmat.WeightedGenomicEstimatedBreedingValueMatrix.check_is_WeightedGenomicEstimatedBreedingValueMatrix(v, vname)[source]#

Check if an object is of type WeightedGenomicEstimatedBreedingValueMatrix. Otherwise raise TypeError.

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

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

Return type:

None