code: def test_ApplyWarp_inputs():
      input_map = dict(
          abswarp=dict(
              argstr="--abs",
              xor=["relwarp"],
          ),
          args=dict(
              argstr="%s",
          ),
          datatype=dict(
              argstr="--datatype=%s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          field_file=dict(
              argstr="--warp=%s",
              extensions=None,
          ),
          in_file=dict(
              argstr="--in=%s",
              extensions=None,
              mandatory=True,
              position=0,
          ),
          interp=dict(
              argstr="--interp=%s",
              position=-2,
          ),
          mask_file=dict(
              argstr="--mask=%s",
              extensions=None,
          ),
          out_file=dict(
              argstr="--out=%s",
              extensions=None,
              genfile=True,
              hash_files=False,
              position=2,
          ),
          output_type=dict(),
          postmat=dict(
              argstr="--postmat=%s",
              extensions=None,
          ),
          premat=dict(
              argstr="--premat=%s",
              extensions=None,
          ),
          ref_file=dict(
              argstr="--ref=%s",
              extensions=None,
              mandatory=True,
              position=1,
          ),
          relwarp=dict(
              argstr="--rel",
              position=-1,
              xor=["abswarp"],
          ),
          superlevel=dict(
              argstr="--superlevel=%s",
          ),
          supersample=dict(
              argstr="--super",
          ),
      )
      inputs = ApplyWarp.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_ApplyWarp_inputs() without return types