code: def run_planner(self):
      base_dir = os.path.realpath(
          os.path.dirname(
              os.path.dirname(
                  os.path.dirname(os.path.dirname(__file__))
              )
          )
      )
      data_dir = os.path.join(base_dir, "tests", "data")
      studies = os.path.join(data_dir, "dataset", "local", "spleen")
  
      datastore = LocalDatastore(
          studies,
          extensions=["*.nii.gz", "*.nii"],
          auto_reload=True,
      )
      planner_object = HeuristicPlanner()
      planner_object.run(datastore=datastore)
  
      spatial_size = planner_object.spatial_size
      target_spacing = planner_object.target_spacing
  
      # Image stats for intensity normalization
      max_pix = planner_object.max_pix
      min_pix = planner_object.min_pix
      mean_pix = planner_object.mean_pix
      std_pix = planner_object.std_pix
  
      self.assertIsNotNone(spatial_size)
      self.assertIsNotNone(target_spacing)
      self.assertGreaterEqual(max_pix, 0)
      self.assertLessEqual(min_pix, 0)
      self.assertLessEqual(mean_pix, 0)
      self.assertGreaterEqual(std_pix, 0)
  
imports: import os
  import unittest
  from monailabel.datastore.local import LocalDatastore
  from monailabel.utils.others.planner import HeuristicPlanner
label_desc: Use image node_id 1 for calling the TestPlanner obj's underlying member method code with example usage: obj.run_planner() without return types