code: def path_info_design(subj, design):
      """Construct path information dict for subject and design.
  
      Parameters
      ----------
      subj : int
          subject number (1..6 inclusive)
      design : {'standard'}
          type of design
  
      Returns
      -------
      path_dict : dict
          having keys 'rootdir', 'subj', 'design'
      """
      path_dict = {"subj": subj, "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 5 for calling a global function with example usage: path_info_design(subj, design) and returns: path_dict