docstr: Make a very basic workspace file
docstr_tok: ["Make","a","very","basic","workspace","file"]
code: def make_workspace_file(self):
      """Make a very basic workspace file"""
      pipeline = cellprofiler_core.pipeline.Pipeline()
      pipeline.init_modules()
      m = cellprofiler_core.measurement.Measurements()
      workspace = cellprofiler_core.workspace.Workspace(
          pipeline, None, m, None, m, None
      )
      fd, path = tempfile.mkstemp(".cpproj")
      file_list = workspace.get_file_list()
      file_list.add_files_to_filelist(
          [
              os.path.join(
                  os.path.dirname(__file__), "resources/01_POS002_D.TIF"
              )
          ]
      )
      workspace.save(path)
      self.workspace_files.append(path)
      os.close(fd)
      return path
  
file_path: CellProfiler/tests/core/workspace/test_workspace.py
imports: import logging
  import os
  import tempfile
  import h5py
  import cellprofiler_core.measurement
  import cellprofiler_core.pipeline
  import cellprofiler_core.utilities.core.workspace
  import cellprofiler_core.workspace
  from cellprofiler_core.utilities.hdf5_dict import FILE_LIST_GROUP, TOP_LEVEL_GROUP_NAME
label_desc: Use image node_id 3 for calling the TestWorkspace obj's underlying member method code with example usage: obj.make_workspace_file() and returns: path