class_docstr: Create and return a temporary directory.  This has the same
  behavior as mkdtemp but can be used as a context manager.  For
  example:
  
      with TemporaryDirectory() as tmpdir:
          ...
  
  Upon exiting the context, the directory and everything contained
  in it are removed.
code: def __init__(self, suffix="", prefix=template, dir=None):
      self.name = mkdtemp(suffix, prefix, dir)
      self._closed = False
  
file_path: nipype/nipype/utils/tmpdirs.py
imports: import os
  import shutil
  from tempfile import template, mkdtemp
label_desc: Use image node_id 1 to create a new TemporaryDirectory object  with example: obj = TemporaryDirectory(suffix, prefix, dir)