docstr: If a CP 1.0 pipeline used a rescaling option other than 'No rescaling', warn the user.
docstr_tok: ["If","a","CP","1.0","pipeline","used","a","rescaling","option","other","than","'No","rescaling","'",",","warn","the","user","."]
code: def validate_module_warnings(self, pipeline):
      """If a CP 1.0 pipeline used a rescaling option other than 'No rescaling', warn the user."""
      for j, image in enumerate(self.images):
          if image.rescale_option != RE_NONE:
              raise ValidationError(
                  (
                      "Your original pipeline used '%s' to rescale the final image, "
                      "but the rescaling option has been removed. Please use "
                      "RescaleIntensity to rescale your output image. Save your "
                      "pipeline to get rid of this warning."
                  )
                  % image.rescale_option,
                  image.divide_or_subtract,
              )
  
imports: import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, Binary
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import DoSomething
  from cellprofiler_core.setting.do_something import RemoveSettingButton
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import ImageName
label_desc: Use image node_id 9 for calling the CorrectIlluminationApply obj's underlying member method code with example usage: obj.validate_module_warnings(pipeline) without return types