docstr: Sets the self._optionals variable with all sub flow arguments
  that were passed in the commandline.
docstr_tok: ["Sets","the","self._optionals","variable","with","all","sub","flow","arguments","that","were","passed","in","the","commandline","."]
code: def set_sub_flows_optionals(self, opts):
      """Sets the self._optionals variable with all sub flow arguments
      that were passed in the commandline.
      """
      self._optionals = {}
      for key, sub_dict in opts.items():
          self._optionals[key] = dict(
              (k, v) for k, v in sub_dict.items() if v is not None
          )
  
file_path: dipy/dipy/workflows/combined_workflow.py
imports: from dipy.workflows.workflow import Workflow
label_desc: Use image node_id 4 for calling the CombinedWorkflow obj's underlying member method code with example usage: obj.set_sub_flows_optionals(opts) without return types