class_docstr: The workspace contains the processing information and state for
  a pipeline run on an image set
class_docstr_tok: ["The","workspace","contains","the","processing","information","and","state","for","a","pipeline","run","on","an","image","set"]
code: def save_pipeline_to_measurements(self):
      from ..constants.pipeline import M_PIPELINE
  
      fd = io.StringIO()
      self.pipeline.dump(fd, save_image_plane_details=False)
      self.measurements.add_experiment_measurement(
          M_PIPELINE, fd.getvalue()
      )
      self.measurements.flush()
  
imports: import io
  import logging
  import os
  import h5py
  import cellprofiler_core.utilities.measurement
  from ._disposition_changed_event import DispositionChangedEvent
  from ..constants.measurement import EXPERIMENT
  from ..constants.workspace import DISPOSITION_CONTINUE
  from ..utilities.hdf5_dict import HDF5FileList
label_desc: Use image node_id 39 for calling the Workspace obj's underlying member method code with example usage: obj.save_pipeline_to_measurements() without return types