class_docstr: A multi-choice setting for selecting multiple measurements
class_docstr_tok: ["A","multi-choice","setting","for","selecting","multiple","measurements"]
code: def populate_choices(self, pipeline):
      #
      # Find our module
      #
      for module in pipeline.modules():
          for setting in module.visible_settings():
              if id(setting) == id(self):
                  break
      columns = pipeline.get_measurement_columns(module)
  
      def valid_mc(c):
          """Disallow any measurement column with "," or "|" in its names"""
          return not any(
              [any([bad in f for f in c[:2]]) for bad in (",", "|")]
          )
  
      self.set_choices(
          [
              self.make_measurement_choice(c[0], c[1])
              for c in columns
              if valid_mc(c)
          ]
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/multichoice/_measurement_multichoice.py
imports: from ._multichoice import MultiChoice
label_desc: Use image node_id 10 for calling the MeasurementMultiChoice obj's underlying member method code with example usage: obj.populate_choices(pipeline) and returns: unknown