code: def test_SpaceTimeRealigner_inputs():
      input_map = dict(
          in_file=dict(
              mandatory=True,
              min_ver="0.4.0.dev",
          ),
          slice_info=dict(
              requires=["slice_times"],
          ),
          slice_times=dict(),
          tr=dict(
              requires=["slice_times"],
          ),
      )
      inputs = SpaceTimeRealigner.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_SpaceTimeRealigner_inputs() without return types