class_docstr: Dictionary-like class that provides attribute-style access to its items.
  
  A ``Bunch`` is a simple container that stores its items as class
  attributes [1]_. Internally all items are stored in a dictionary and
  the class exposes several of the dictionary methods.
  
  Examples
  --------
  >>> from nipype.interfaces.base import Bunch
  >>> inputs = Bunch(infile='subj.nii', fwhm=6.0, register_to_mean=True)
  >>> inputs
  Bunch(fwhm=6.0, infile='subj.nii', register_to_mean=True)
  >>> inputs.register_to_mean = False
  >>> inputs
  Bunch(fwhm=6.0, infile='subj.nii', register_to_mean=False)
  
  References
  ----------
  .. [1] A. Martelli, D. Hudgeon, "Collecting a Bunch of Named
         Items", Python Cookbook, 2nd Ed, Chapter 4.18, 2005.
docstr: representation of the sorted Bunch as a string
  
  Currently, this string representation of the `inputs` Bunch of
  interfaces is hashed to determine if the process' dirty-bit
  needs setting or not. Till that mechanism changes, only alter
  this after careful consideration.
docstr_tok: ["representation","of","the","sorted","Bunch","as","a","string","Currently",",","this","string","representation","of","the","`","inputs","`","Bunch","of","interfaces","is","hashed","to","determine","if","the","process","'","dirty-bit","needs","setting","or","not",".","Till","that","mechanism","changes",",","only","alter","this","after","careful","consideration","."]
code: def __repr__(self):
      """representation of the sorted Bunch as a string
  
      Currently, this string representation of the `inputs` Bunch of
      interfaces is hashed to determine if the process' dirty-bit
      needs setting or not. Till that mechanism changes, only alter
      this after careful consideration.
      """
      outstr = ["Bunch("]
      first = True
      for k, v in sorted(self.items()):
          if not first:
              outstr.append(", ")
          if isinstance(v, dict):
              pairs = []
              for key, value in sorted(v.items()):
                  pairs.append(f"'{key}': {value}")
              v = "{" + ", ".join(pairs) + "}"
              outstr.append(f"{k}={v}")
          else:
              outstr.append(f"{k}={v!r}")
          first = False
      outstr.append(")")
      return "".join(outstr)
  
imports: import os
  from contextlib import AbstractContextManager
  from copy import deepcopy
  from textwrap import wrap
  import re
  from datetime import datetime
  from dateutil.parser import parse
  import platform
  from ...None import logging, config
  from ...utils.misc import is_container, rgetcwd
  from ...utils.filemanip import md5, hash_infile
label_desc: Use image node_id 8 for calling the Bunch obj's underlying member method code with example usage: obj.__repr__() and returns: str