code: def create_results_dirs(base_path):
      
  
      if not os.path.exists(base_path):
          print("Creating directory {} for results data.".format(base_path))
          os.mkdir(base_path)
      if not os.path.exists(os.path.join(base_path, 'results')):
          os.mkdir(os.path.join(base_path, 'results'))
      if not os.path.exists(os.path.join(base_path, 'plots')):
          os.mkdir(os.path.join(base_path, 'plots'))
      if not os.path.exists(os.path.join(base_path, 'info')):
          os.mkdir(os.path.join(base_path, 'info'))
      if not os.path.exists(os.path.join(base_path, 'log')):
          os.mkdir(os.path.join(base_path, 'log'))
docs: Create base path dir and subdirectories
  
      Parameters
      ----------
      base_path : str
          The base path has subdirectories for raw and processed results