docstr: Get the module's legacy fields dictionary for this image set
docstr_tok: ["Get","the","module","'s","legacy","fields","dictionary","for","this","image","set"]
code: def get_dictionary(self, image_set):
      """Get the module's legacy fields dictionary for this image set"""
      key = "%s:%d" % (self.module_name, self.module_num)
      if key not in image_set.legacy_fields:
          image_set.legacy_fields[key] = {}
      d = image_set.legacy_fields[key]
      if image_set.image_number not in d:
          d[image_set.image_number] = {}
      return d[image_set.image_number]
  
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 15 for calling the OmeroLoadImages obj's underlying member method code with example usage: obj.get_dictionary(image_set) and returns: d