code: def test_Volreg_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          basefile=dict(
              argstr="-base %s",
              extensions=None,
              position=-6,
          ),
          copyorigin=dict(
              argstr="-twodup",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          in_file=dict(
              argstr="%s",
              copyfile=False,
              extensions=None,
              mandatory=True,
              position=-1,
          ),
          in_weight_volume=dict(
              argstr="-weight '%s[%d]'",
          ),
          interp=dict(
              argstr="-%s",
          ),
          md1d_file=dict(
              argstr="-maxdisp1D %s",
              extensions=None,
              keep_extension=True,
              name_source="in_file",
              name_template="%s_md.1D",
              position=-4,
          ),
          num_threads=dict(
              nohash=True,
              usedefault=True,
          ),
          oned_file=dict(
              argstr="-1Dfile %s",
              extensions=None,
              keep_extension=True,
              name_source="in_file",
              name_template="%s.1D",
          ),
          oned_matrix_save=dict(
              argstr="-1Dmatrix_save %s",
              extensions=None,
              keep_extension=True,
              name_source="in_file",
              name_template="%s.aff12.1D",
          ),
          out_file=dict(
              argstr="-prefix %s",
              extensions=None,
              name_source="in_file",
              name_template="%s_volreg",
          ),
          outputtype=dict(),
          timeshift=dict(
              argstr="-tshift 0",
          ),
          verbose=dict(
              argstr="-verbose",
          ),
          zpad=dict(
              argstr="-zpad %d",
              position=-5,
          ),
      )
      inputs = Volreg.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_Volreg_inputs() without return types