code: def test_relationships_missing():
      for missing in range(1, 4):
          img = numpy.zeros((10, 30))
          labels = numpy.zeros((10, 30), int)
          for i in range(3):
              object_number = i + 1
              center_j = i * 10 + 4
              labels[
                  3:6, (center_j - 1) : (center_j + 2)
              ] = object_number
              if object_number != missing:
                  img[2:7, (center_j - 2) : (center_j + 3)] = 0.5
              else:
                  img[0:7, (center_j - 2) : (center_j + 3)] = 0.5
          workspace, module = make_workspace(img, labels)
          assert isinstance(
              module,
              cellprofiler.modules.identifysecondaryobjects.IdentifySecondaryObjects,
          )
          module.method.value = (
              cellprofiler.modules.identifysecondaryobjects.M_PROPAGATION
          )
          module.threshold.threshold_scope.value = (
              cellprofiler.modules.threshold.TS_GLOBAL
          )
          module.threshold.global_operation.value = (
              cellprofiler.modules.threshold.TM_MANUAL
          )
          module.wants_discard_edge.value = True
          module.wants_discard_primary.value = False
          module.threshold.manual_threshold.value = 0.25
          module.run(workspace)
          m = workspace.measurements
          assert isinstance(
              m, cellprofiler_core.measurement.Measurements
          )
          result = m.get_relationships(
              module.module_num,
              cellprofiler.modules.identifysecondaryobjects.R_PARENT,
              module.x_name.value,
              module.y_name.value,
          )
          assert len(result) == 2
          for i in range(2):
              first_object_number = second_object_number = i + 1
              if first_object_number >= missing:
                  first_object_number += 1
              assert result[R_FIRST_IMAGE_NUMBER][i] == 1
              assert result[R_SECOND_IMAGE_NUMBER][i] == 1
              assert (
                  result[R_FIRST_OBJECT_NUMBER][i]
                  == first_object_number
              )
              assert (
                  result[R_SECOND_OBJECT_NUMBER][i]
                  == second_object_number
              )
  
imports: import io
  import centrosome.threshold
  import numpy
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_FLOAT, COLTYPE_INTEGER, R_FIRST_IMAGE_NUMBER, R_SECOND_IMAGE_NUMBER, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.constants.module._identify import TS_GLOBAL, O_TWO_CLASS, O_FOREGROUND
  import tests.frontend.modules
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.identifysecondaryobjects
  import cellprofiler.modules.threshold
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 26 for calling a global function with example usage: test_relationships_missing() without return types