docstr: Write out the details for creating an image provider
  
  Write information to the image set list legacy fields for saving
  the state needed to create an image provider.
  
  image_set - create a provider on this image set
  image_name - the image name for the image
  provider - the name of an image set provider (the name will be read
          by load_image_set_info to create the actual provider)
  version - the version # of the provider, in case the arguments change
  args - string arguments that will be passed to the provider's init fn
docstr_tok: ["Write","out","the","details","for","creating","an","image","provider","Write","information","to","the","image","set","list","legacy","fields","for","saving","the","state","needed","to","create","an","image","provider",".","image_set","-","create","a","provider","on","this","image","set","image_name","-","the","image","name","for","the","image","provider","-","the","name","of","an","image","set","provider","(","the","name","will","be","read","by","load_image_set_info","to","create","the","actual","provider",")","version","-","the","version","#","of","the","provider",",","in","case","the","arguments","change","args","-","string","arguments","that","will","be","passed","to","the","provider","'s","init","fn"]
code: def save_image_set_info(
      self, image_set, image_name, provider, version, *args
  ):
      """Write out the details for creating an image provider
  
      Write information to the image set list legacy fields for saving
      the state needed to create an image provider.
  
      image_set - create a provider on this image set
      image_name - the image name for the image
      provider - the name of an image set provider (the name will be read
              by load_image_set_info to create the actual provider)
      version - the version # of the provider, in case the arguments change
      args - string arguments that will be passed to the provider's init fn
      """
      if provider != P_OMERO:
          raise NotImplementedError(
              "provider %s has not been implemented by this module"
              % provider
          )
      d = self.get_dictionary(image_set)
      d[image_name] = [provider, version] + list(args)
  
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 13 for calling the OmeroLoadImages obj's underlying member method code with example usage: obj.save_image_set_info(image_set, image_name, provider, version) without return types