check_PhasedGenotypeMatrix_has_vrnt_xoprob#
- pybrops.popgen.gmat.PhasedGenotypeMatrix.check_PhasedGenotypeMatrix_has_vrnt_xoprob(v, vname)[source]#
Check if a
PhasedGenotypeMatrix
has thevrnt_xoprob
field that is non-None.- Parameters:
v (PhasedGenotypeMatrix) – A phased genotype matrix.
vname (str) – Name of the variable to print in
ValueError
message.
- Return type:
None