code: def path_info_run(subj, run, design="standard"):
      """Construct path information dict for current subject/run.
  
      Parameters
      ----------
      subj : int
          subject number (1..6 inclusive)
      run : int
          run number (1..12 inclusive).
      design : str, optional
          which design to use, defaults to 'standard'
      Returns
      -------
      path_dict : dict
          a dict with all the necessary path-related keys, including 'rootdir',
          and 'design', where 'design' can have values 'event' or 'block'
          depending on which type of run this was for subject no `subj` and run no
          `run`
      """
      path_dict = {"subj": subj, "run": run, "design": design}
      rootdir = (
          pjoin(DATADIR, "sub%(subj)03d", "model", "%(design)s")
          % path_dict
      )
      path_dict["rootdir"] = rootdir
      path_dict["fsldir"] = (
          pjoin(DATADIR, "sub%(subj)03d", "model", "model001")
          % path_dict
      )
      return path_dict
  
file_path: nipy/examples/ds105/ds105_util.py
imports: import os
  from os import listdir, makedirs
  from os.path import abspath, exists, isdir, splitext
  from os.path import join
  import numpy
  import pandas
  from nipy.io.api import load_image
label_desc: Use image node_id 4 for calling a global function with example usage: path_info_run(subj, run, design) and returns: path_dict