code: def test_combiner_works():
      _paths = ["gvcfs/HG00096.g.vcf.gz", "gvcfs/HG00268.g.vcf.gz"]
      paths = [resource(p) for p in _paths]
      parts = [
          hl.Interval(
              start=hl.Locus(
                  "chr20", 17821257, reference_genome="GRCh38"
              ),
              end=hl.Locus(
                  "chr20", 18708366, reference_genome="GRCh38"
              ),
              includes_end=True,
          ),
          hl.Interval(
              start=hl.Locus(
                  "chr20", 18708367, reference_genome="GRCh38"
              ),
              end=hl.Locus(
                  "chr20", 19776611, reference_genome="GRCh38"
              ),
              includes_end=True,
          ),
          hl.Interval(
              start=hl.Locus(
                  "chr20", 19776612, reference_genome="GRCh38"
              ),
              end=hl.Locus(
                  "chr20", 21144633, reference_genome="GRCh38"
              ),
              includes_end=True,
          ),
      ]
      with hl.TemporaryDirectory() as tmpdir:
          out = os.path.join(tmpdir, "out.vds")
          hl.vds.new_combiner(
              temp_path=tmpdir,
              output_path=out,
              gvcf_paths=paths,
              intervals=parts,
              reference_genome="GRCh38",
          ).run()
          comb = hl.vds.read_vds(out)
  
          # see https://github.com/hail-is/hail/issues/13367 for why these assertions are here
          assert "LPGT" in comb.variant_data.entry
          assert comb.variant_data.LPGT.dtype == hl.tcall
  
          assert len(parts) == comb.variant_data.n_partitions()
          comb.variant_data._force_count_rows()
          comb.reference_data._force_count_rows()
  
file_path: hail/hail/python/test/hail/vds/test_combiner.py
imports: import os
  import pytest
  import hail
  from hail.utils.java import Env
  from hail.utils.misc import new_temp_file
  from hail.vds.combiner import combine_variant_datasets, new_combiner, load_combiner, transform_gvcf
  from hail.vds.combiner.combine import defined_entry_fields
  from ..helpers import resource, skip_when_service_backend, test_timeout, qobtest
label_desc: Use image node_id 1 for calling a global function with example usage: test_combiner_works() without return types