code: def test_well_row_column():
      # Make sure that Metadata_Well is generated if we have
      # Metadata_Row and Metadata_Column
      #
      for row_tag, column_tag in (
          ("row", "column"),
          ("wellrow", "wellcolumn"),
          ("well_row", "well_column"),
      ):
          module = cellprofiler_core.modules.metadata.Metadata()
          module.wants_metadata.value = True
          em = module.extraction_methods[0]
          em.filter_choice.value = (
              cellprofiler_core.constants.modules.metadata.F_ALL_IMAGES
          )
          em.extraction_method.value = (
              cellprofiler_core.constants.modules.metadata.X_MANUAL_EXTRACTION
          )
          em.source.value = (
              cellprofiler_core.constants.modules.metadata.XM_FILE_NAME
          )
          em.file_regexp.value = (
              "^Channel(?P<Wavelength>[1-2])-"
              "(?P<%(row_tag)s>[A-H])-"
              "(?P<%(column_tag)s>[0-9]{2}).tif$"
          ) % locals()
          em.filter_choice.value = (
              cellprofiler_core.constants.modules.metadata.F_ALL_IMAGES
          )
          url = "file:/imaging/analysis/Channel1-C-05.tif"
          check(
              module,
              url,
              [
                  {
                      "Wavelength": "1",
                      row_tag: "C",
                      column_tag: "05",
                      cellprofiler_core.constants.measurement.FTR_WELL: "C05",
                  }
              ],
          )
          pipeline = cellprofiler_core.pipeline.Pipeline()
          imgs = cellprofiler_core.modules.images.Images()
          imgs.filter_choice.value = (
              cellprofiler_core.constants.modules.images.FILTER_CHOICE_NONE
          )
          imgs.module_num = 1
          pipeline.add_module(imgs)
          module.set_module_num(2)
          pipeline.add_module(module)
          assert cellprofiler_core.constants.measurement.M_WELL in [
              c[1] for c in module.get_measurement_columns(pipeline)
          ]
  
imports: import io
  import json
  import os
  import tempfile
  import cellprofiler_core.constants.measurement
  import cellprofiler_core.constants.modules.images
  import cellprofiler_core.constants.modules.metadata
  import cellprofiler_core.measurement
  import cellprofiler_core.modules.images
  import cellprofiler_core.modules.metadata
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
  import tests.core
label_desc: Use image node_id 17 for calling a global function with example usage: test_well_row_column() without return types