code: def test_ica_aroma(tmp_path, fmriprep_version):
      """Test ICA AROMA related file input."""
      aroma_nii, _ = create_tmp_filepath(
          tmp_path,
          image_type="ica_aroma",
          copy_confounds=True,
          fmriprep_version=fmriprep_version,
      )
      regular_nii, _ = create_tmp_filepath(
          tmp_path,
          image_type="regular",
          copy_confounds=True,
          fmriprep_version=fmriprep_version,
      )
      # Aggressive strategy
      conf, _ = load_confounds(
          regular_nii, strategy=("ica_aroma",), ica_aroma="basic"
      )
      for col_name in conf.columns:
          # only aroma and non-steady state columns will be present
          assert re.match(
              "(?:aroma_motion_+|non_steady_state+)", col_name
          )
  
      # Non-aggressive strategy
      conf, _ = load_confounds(
          aroma_nii, strategy=("ica_aroma",), ica_aroma="full"
      )
      assert conf.size == 0
  
      # invalid combination of strategy and option
      with pytest.raises(ValueError) as exc_info:
          conf, _ = load_confounds(
              regular_nii, strategy=("ica_aroma",), ica_aroma="invalid"
          )
      assert "Current input: invalid" in exc_info.value.args[0]
  
imports: import re
  import numpy
  import pandas
  import pytest
  from nibabel import Nifti1Image
  from scipy.stats import pearsonr
  from sklearn.preprocessing import scale
  from nilearn._utils.data_gen import create_fake_bids_dataset
  from nilearn._utils.fmriprep_confounds import to_camel_case
  from nilearn.conftest import _rng
  from nilearn.interfaces.bids import get_bids_files
  from nilearn.interfaces.fmriprep import load_confounds
  from nilearn.interfaces.fmriprep.load_confounds import _check_strategy, _load_single_confounds_file
  from nilearn.interfaces.fmriprep.tests._testing import create_tmp_filepath, get_legal_confound
  from nilearn.maskers import NiftiMasker
label_desc: Use image node_id 22 for calling a global function with example usage: test_ica_aroma(tmp_path, fmriprep_version) without return types