docstr: Augmenting the argument parser to allow automatic creation of
  arguments from workflows
  
  Parameters
  ----------
  prog : None
      The name of the program. (default: sys.argv[0])
  usage : None
      A usage message. (default: auto-generated from arguments)
  description : str
      A description of what the program does.
  epilog : str
      Text following the argument descriptions.
  parents : list
      Parsers whose arguments should be copied into this one.
  formatter_class : obj
      HelpFormatter class for printing help messages.
  prefix_chars : str
      Characters that prefix optional arguments.
  fromfile_prefix_chars : None
      Characters that prefix files containing additional arguments.
  argument_default : None
      The default value for all arguments.
  conflict_handler : str
      String indicating how to handle conflicts.
  add_help : bool
      Add a -h/-help option.
docstr_tok: ["Augmenting","the","argument","parser","to","allow","automatic","creation","of","arguments","from","workflows","Parameters","--","--","--","--","--","prog",":","None","The","name","of","the","program",".","(","default",":","sys.argv","[","0","]",")","usage",":","None","A","usage","message",".","(","default",":","auto-generated","from","arguments",")","description",":","str","A","description","of","what","the","program","does",".","epilog",":","str","Text","following","the","argument","descriptions",".","parents",":","list","Parsers","whose","arguments","should","be","copied","into","this","one",".","formatter_class",":","obj","HelpFormatter","class","for","printing","help","messages",".","prefix_chars",":","str","Characters","that","prefix","optional","arguments",".","fromfile_prefix_chars",":","None","Characters","that","prefix","files","containing","additional","arguments",".","argument_default",":","None","The","default","value","for","all","arguments",".","conflict_handler",":","str","String","indicating","how","to","handle","conflicts",".","add_help",":","bool","Add","a","-h\/-help","option","."]
code: def __init__(
      self,
      prog=None,
      usage=None,
      description=None,
      epilog=None,
      parents=(),
      formatter_class=argparse.RawTextHelpFormatter,
      prefix_chars="-",
      fromfile_prefix_chars=None,
      argument_default=None,
      conflict_handler="resolve",
      add_help=True,
  ):
      """Augmenting the argument parser to allow automatic creation of
      arguments from workflows
  
      Parameters
      ----------
      prog : None
          The name of the program. (default: sys.argv[0])
      usage : None
          A usage message. (default: auto-generated from arguments)
      description : str
          A description of what the program does.
      epilog : str
          Text following the argument descriptions.
      parents : list
          Parsers whose arguments should be copied into this one.
      formatter_class : obj
          HelpFormatter class for printing help messages.
      prefix_chars : str
          Characters that prefix optional arguments.
      fromfile_prefix_chars : None
          Characters that prefix files containing additional arguments.
      argument_default : None
          The default value for all arguments.
      conflict_handler : str
          String indicating how to handle conflicts.
      add_help : bool
          Add a -h/-help option.
      """
  
      iap = IntrospectiveArgumentParser
      if epilog is None:
          epilog = (
              "References: \n"
              "Garyfallidis, E., M. Brett, B. Amirbekian, A. Rokem,"
              " S. Van Der Walt, M. Descoteaux, and I. Nimmo-Smith. Dipy, a"
              " library for the analysis of diffusion MRI data. Frontiers"
              " in Neuroinformatics, 1-18, 2014."
          )
  
      super(iap, self).__init__(
          prog=prog,
          usage=usage,
          description=description,
          epilog=epilog,
          parents=parents,
          formatter_class=formatter_class,
          prefix_chars=prefix_chars,
          fromfile_prefix_chars=fromfile_prefix_chars,
          argument_default=argument_default,
          conflict_handler=conflict_handler,
          add_help=add_help,
      )
  
      self.doc = None
  
file_path: dipy/dipy/workflows/base.py
imports: import argparse
  import inspect
  from dipy.workflows.docstring_parser import NumpyDocString
label_desc: Use image node_id 1 to create a new IntrospectiveArgumentParser object from inherited base classes: argparse with example: obj = IntrospectiveArgumentParser(prog, usage, description, epilog, parents, formatter_class, prefix_chars, fromfile_prefix_chars, argument_default, conflict_handler, add_help)