code: def _get_run_info_dict(self, run_id):
      
      run_info_path = os.path.join(self._settings.info_dir, run_id, 'info')
      if os.path.exists(run_info_path):
        # We copy the RunInfo as a dict, so we can add stuff to it to pass to the template.
        return RunInfo(run_info_path).get_as_dict()
      else:
        return None
docs: Get the RunInfo for a run, as a dict.