code: def test_2d_as_5D_multimodal_properties(self):
      data_param = {
          "mr": {
              "path_to_search": IMAGE_PATH_2D,
              "filename_contains": "_u",
              "pixdim": (2, 2, 2),
              "axcodes": "RAS",
          }
      }
      grouping_param = {"ct": ("mr", "mr", "mr")}
      reader = ImageReader().initialise(data_param, grouping_param)
      self.assertEqual(reader.spatial_ranks, {"ct": 2})
  
imports: from __future__ import absolute_import, print_function
  import os
  from PIL import Image
  import nibabel
  import numpy
  import tensorflow
  from niftynet.io.image_reader import ImageReader
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 8 for calling the Read2DTest obj's underlying member method code with example usage: obj.test_2d_as_5D_multimodal_properties() without return types