code: def test_mendel_errors_7(self):
      mt = hl.import_vcf(resource("mendel.vcf"))
      ped = hl.Pedigree.read(resource("mendel.fam"))
      men, fam, ind, var = hl.mendel_errors(mt["GT"], ped)
  
      actual = set(ind.select("errors", "snp_errors").collect())
      expected = {
          hl.utils.Struct(s="Son1", errors=23, snp_errors=22),
          hl.utils.Struct(s="Dtr1", errors=18, snp_errors=17),
          hl.utils.Struct(s="Dad1", errors=19, snp_errors=18),
          hl.utils.Struct(s="Mom1", errors=22, snp_errors=21),
          hl.utils.Struct(s="Dad2", errors=0, snp_errors=0),
          hl.utils.Struct(s="Mom2", errors=0, snp_errors=0),
          hl.utils.Struct(s="Son2", errors=0, snp_errors=0),
      }
      assert actual == expected
  
imports: import unittest
  import hail
  from ..helpers import *
label_desc: Use image node_id 11 for calling the Tests obj's underlying member method code with example usage: obj.test_mendel_errors_7() without return types