code: def test_slr_flow():
      with TemporaryDirectory() as out_dir:
          data_path = get_fnames("fornix")
  
          fornix = load_tractogram(
              data_path, "same", bbox_valid_check=False
          ).streamlines
  
          f = Streamlines(fornix)
          f1 = f.copy()
  
          f1_path = pjoin(out_dir, "f1.trk")
          sft = StatefulTractogram(f1, data_path, Space.RASMM)
          save_tractogram(sft, f1_path, bbox_valid_check=False)
  
          f2 = f1.copy()
          f2._data += np.array([50, 0, 0])
  
          f2_path = pjoin(out_dir, "f2.trk")
          sft = StatefulTractogram(f2, data_path, Space.RASMM)
          save_tractogram(sft, f2_path, bbox_valid_check=False)
  
          slr_flow = SlrWithQbxFlow(force=True)
          slr_flow.run(f1_path, f2_path)
  
          out_path = slr_flow.last_generated_outputs["out_moved"]
  
          npt.assert_equal(os.path.isfile(out_path), True)
  
imports: from os.path import join
  import os.path
  from tempfile import TemporaryDirectory
  import numpy.testing
  import numpy
  import nibabel
  import pytest
  from dipy.utils.optpkg import optional_package
  from dipy.align.tests.test_imwarp import get_synthetic_warped_circle
  from dipy.align.tests.test_parzenhist import setup_random_transform
  from dipy.align.transforms import regtransforms
  from dipy.data import get_fnames
  from dipy.io.image import save_nifti, load_nifti_data
  from dipy.io.stateful_tractogram import Space, StatefulTractogram
  from dipy.io.streamline import load_tractogram, save_tractogram
  from dipy.tracking.streamline import Streamlines
  from dipy.workflows.align import ImageRegistrationFlow, SynRegistrationFlow, ApplyTransformFlow, ResliceFlow, SlrWithQbxFlow, MotionCorrectionFlow, BundleWarpFlow
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 2 for calling a global function with example usage: test_slr_flow() without return types