class_docstr: Represents the list of image sets in a pipeline run
  
      
class_docstr_tok: ["Represents","the","list","of","image","sets","in","a","pipeline","run"]
docstr: Load an image_set_list's state from the string returned from save_state
docstr_tok: ["Load","an","image_set_list","'s","state","from","the","string","returned","from","save_state"]
code: def load_state(self, state):
      """Load an image_set_list's state from the string returned from save_state"""
  
      self.__image_sets = []
      self.__image_sets_by_key = {}
  
      # Make a safe unpickler
      p = pickle.Unpickler(io.BytesIO(state))
  
      count = p.load()
  
      all_keys = [p.load() for i in range(count)]
  
      self.legacy_fields = p.load()
  
      #
      # Have to do in this order in order for the image set's
      # legacy_fields property to hook to the right legacy_fields
      #
      for i in range(count):
          self.get_image_set(all_keys[i])
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/image/_image_set_list.py
imports: import io
  import pickle
  from ._image_set import ImageSet
  from ..utilities.image import make_dictionary_key
label_desc: Use image node_id 6 for calling the ImageSetList obj's underlying member method code with example usage: obj.load_state(state) without return types