check_PhasedGenotypeMatrix_has_vrnt_mask#
- pybrops.popgen.gmat.PhasedGenotypeMatrix.check_PhasedGenotypeMatrix_has_vrnt_mask(v, vname)[source]#
Check if a
PhasedGenotypeMatrix
has thevrnt_mask
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