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_default_folders_to_measurements(self):
      from ..constants.pipeline import M_DEFAULT_INPUT_FOLDER
      from ..constants.pipeline import M_DEFAULT_OUTPUT_FOLDER
      from cellprofiler_core.preferences import (
          get_default_image_directory,
      )
      from cellprofiler_core.preferences import (
          get_default_output_directory,
      )
  
      self.measurements.add_experiment_measurement(
          M_DEFAULT_INPUT_FOLDER, get_default_image_directory()
      )
      self.measurements.add_experiment_measurement(
          M_DEFAULT_OUTPUT_FOLDER, get_default_output_directory()
      )
  
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 40 for calling the Workspace obj's underlying member method code with example usage: obj.save_default_folders_to_measurements() without return types