code: def test_ants_mand(tmpdir):
      tmpdir.chdir()
      filepath = os.path.dirname(os.path.realpath(__file__))
      datadir = os.path.realpath(
          os.path.join(filepath, "../../../testing/data")
      )
  
      ants = registration.ANTS()
      ants.inputs.transformation_model = "SyN"
      ants.inputs.moving_image = [os.path.join(datadir, "resting.nii")]
      ants.inputs.fixed_image = [os.path.join(datadir, "T1.nii")]
      ants.inputs.metric = ["MI"]
  
      with pytest.raises(ValueError) as er:
          ants.run()
      assert "ANTS requires a value for input 'radius'" in str(er.value)
  
imports: from nipype.interfaces.ants import registration
  import os
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_ants_mand(tmpdir) without return types