docstr: Return the parsed arguments as a dictionary that will be used
  as a workflow's run method arguments.
docstr_tok: ["Return","the","parsed","arguments","as","a","dictionary","that","will","be","used","as","a","workflow","'s","run","method","arguments","."]
code: def get_flow_args(self, args=None, namespace=None):
      """Return the parsed arguments as a dictionary that will be used
      as a workflow's run method arguments.
      """
  
      ns_args = self.parse_args(args, namespace)
      dct = vars(ns_args)
      res = dict((k, v) for k, v in dct.items() if v is not None)
      res.update(dict((k, None) for k, v in res.items() if v == "None"))
      return res
  
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 5 for calling the IntrospectiveArgumentParser obj's underlying member method code with example usage: obj.get_flow_args(args, namespace) and returns: res