code: def test_Aparc2Aseg_inputs():
      input_map = dict(
          a2009s=dict(
              argstr="--a2009s",
          ),
          args=dict(
              argstr="%s",
          ),
          aseg=dict(
              argstr="--aseg %s",
              extensions=None,
          ),
          copy_inputs=dict(),
          ctxseg=dict(
              argstr="--ctxseg %s",
              extensions=None,
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          filled=dict(
              extensions=None,
          ),
          hypo_wm=dict(
              argstr="--hypo-as-wm",
          ),
          label_wm=dict(
              argstr="--labelwm",
          ),
          lh_annotation=dict(
              extensions=None,
              mandatory=True,
          ),
          lh_pial=dict(
              extensions=None,
              mandatory=True,
          ),
          lh_ribbon=dict(
              extensions=None,
              mandatory=True,
          ),
          lh_white=dict(
              extensions=None,
              mandatory=True,
          ),
          out_file=dict(
              argstr="--o %s",
              extensions=None,
              mandatory=True,
          ),
          rh_annotation=dict(
              extensions=None,
              mandatory=True,
          ),
          rh_pial=dict(
              extensions=None,
              mandatory=True,
          ),
          rh_ribbon=dict(
              extensions=None,
              mandatory=True,
          ),
          rh_white=dict(
              extensions=None,
              mandatory=True,
          ),
          ribbon=dict(
              extensions=None,
              mandatory=True,
          ),
          rip_unknown=dict(
              argstr="--rip-unknown",
          ),
          subject_id=dict(
              argstr="--s %s",
              mandatory=True,
              usedefault=True,
          ),
          subjects_dir=dict(),
          volmask=dict(
              argstr="--volmask",
          ),
      )
      inputs = Aparc2Aseg.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_Aparc2Aseg_inputs() without return types