docstr: Adjust the setting_values for older save file versions
docstr_tok: ["Adjust","the","setting_values","for","older","save","file","versions"]
code: def upgrade_settings(
      self, setting_values, variable_revision_number, module_name
  ):
      """Adjust the setting_values for older save file versions"""
      if variable_revision_number == 1:
          objects_list = setting_values[:-1]
          setting_values = [
              ", ".join(map(str, objects_list)),
              setting_values[-1],
          ]
          variable_revision_number = 2
      if variable_revision_number == 2:
          # Add advanced features toggle
          setting_values.append("No")
          variable_revision_number = 3
      return setting_values, variable_revision_number
  
imports: import centrosome.cpmorphology
  import centrosome.zernike
  import numpy
  import scipy.ndimage
  import skimage.measure
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.object import Objects
  from cellprofiler_core.setting import Divider, Binary, ValidationError
  from cellprofiler_core.setting.subscriber import LabelListSubscriber
  import cellprofiler.gui.help.content
  import cellprofiler.icons
label_desc: Use image node_id 18 for calling the MeasureObjectSizeShape obj's underlying member method code with example usage: obj.upgrade_settings(setting_values, variable_revision_number, module_name) and returns: setting_values,  variable_revision_number