code: def test_DTIRecon_inputs():
      input_map = dict(
          DWI=dict(
              argstr="%s",
              extensions=None,
              mandatory=True,
              position=1,
          ),
          args=dict(
              argstr="%s",
          ),
          b0_threshold=dict(
              argstr="-b0_th",
          ),
          bvals=dict(
              extensions=None,
              mandatory=True,
          ),
          bvecs=dict(
              argstr="-gm %s",
              extensions=None,
              mandatory=True,
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          image_orientation_vectors=dict(
              argstr="-iop %f",
          ),
          n_averages=dict(
              argstr="-nex %s",
          ),
          oblique_correction=dict(
              argstr="-oc",
          ),
          out_prefix=dict(
              argstr="%s",
              position=2,
              usedefault=True,
          ),
          output_type=dict(
              argstr="-ot %s",
              usedefault=True,
          ),
      )
      inputs = DTIRecon.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_DTIRecon_inputs() without return types