code: def test_maybe_resolve_conflicting_variants(self):
      FLAGS.disable_haplotype_resolution = False
      # Note: Most of the resolution code is tested below in the
      # test_resolve_overlapping_variants function. This test mostly just ensures
      # that the interaction with RefCall variants is properly handled.
      ref_call_deletion = _var(
          start=1,
          end=30,
          genotype=[0, 0],
          # Not a real likelihood -- if we weren't just punting
          # this would get rescaled to sum to 1.
          likelihoods=[-1, -2, -3],
      )
      independent_hom_alts = [
          _var(start=i, genotype=[1, 1], likelihoods=[-3, -2, -1])
          for i in range(3, 20)
      ]
  
      variants = (
          [ref_call_deletion]
          + independent_hom_alts
          + _resolvable_incompatible_inputs()
      )
      expected = (
          [ref_call_deletion]
          + independent_hom_alts
          + _resolved_compatible_outputs()
      )
      actual = haplotypes.maybe_resolve_conflicting_variants(variants)
      self._assert_generator_of_variants_equals_expected(
          actual, expected
      )
  
imports: import types
  from absl import flags
  from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from third_party.nucleus.testing import test_utils
  from deepvariant import haplotypes
label_desc: Use image node_id 1 for calling the ResolveOverlappingVariantsTest obj's underlying member method code with example usage: obj.test_maybe_resolve_conflicting_variants() without return types