docstr: Validate a module's settings
docstr_tok: ["Validate","a","module","'s","settings"]
code: def validate_module(self, pipeline):
      """Validate a module's settings"""
      for setting in (
          self.omero_host,
          self.omero_port,
          self.omero_username,
          self.omero_password,
      ):
          if setting.value == "":
              raise cps.ValidationError(
                  'Cannot continue if "%s" is not set.'
                  % setting.get_text(),
                  setting,
              )
  
imports: import traceback
  import numpy
  import wx
  import cellprofiler_core.image
  import cellprofiler_core.module
  import cellprofiler_core.measurement
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  from cellprofiler_core.modules import default_cpimage_name
  import omero
  from omero.rtypes import rlong
  from omero.rtypes import rint
  from omero_version import omero_version
label_desc: Use image node_id 8 for calling the OmeroLoadImages obj's underlying member method code with example usage: obj.validate_module(pipeline) without return types