code: def test_mendel_errors_6(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(
          fam.select("children", "errors", "snp_errors").collect()
      )
      expected = {
          hl.utils.Struct(
              pat_id="Dad1",
              mat_id="Mom1",
              children=2,
              errors=41,
              snp_errors=39,
          ),
          hl.utils.Struct(
              pat_id="Dad2",
              mat_id="Mom2",
              children=1,
              errors=0,
              snp_errors=0,
          ),
      }
      assert actual == expected
  
imports: import unittest
  import hail
  from ..helpers import *
label_desc: Use image node_id 10 for calling the Tests obj's underlying member method code with example usage: obj.test_mendel_errors_6() without return types