code: def test_ApplyVDM_inputs():
      input_map = dict(
          distortion_direction=dict(
              field="roptions.pedir",
              usedefault=True,
          ),
          in_files=dict(
              copyfile=True,
              field="data.scans",
              mandatory=True,
          ),
          interpolation=dict(
              field="roptions.rinterp",
          ),
          matlab_cmd=dict(),
          mfile=dict(
              usedefault=True,
          ),
          out_prefix=dict(
              field="roptions.prefix",
              usedefault=True,
          ),
          paths=dict(),
          use_mcr=dict(),
          use_v8struct=dict(
              min_ver="8",
              usedefault=True,
          ),
          vdmfile=dict(
              copyfile=True,
              extensions=None,
              field="data.vdmfile",
              mandatory=True,
          ),
          write_mask=dict(
              field="roptions.mask",
          ),
          write_which=dict(
              field="roptions.which",
              maxlen=2,
              minlen=2,
              usedefault=True,
          ),
          write_wrap=dict(
              field="roptions.wrap",
          ),
      )
      inputs = ApplyVDM.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_ApplyVDM_inputs() without return types