check_is_SelectionConfiguration#

pybrops.breed.prot.sel.cfg.SelectionConfiguration.check_is_SelectionConfiguration(v, vname)[source]#

Check if object is of type SelectionConfiguration, otherwise raise TypeError.

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

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

Return type:

None