code: def test_aamped_one_subsequence_nan_A_B_join(
      T_A, T_B, substitution_location_B, dask_cluster
  ):
      with Client(dask_cluster) as dask_client:
          m = 3
  
          T_B_sub = T_B.copy()
          T_B_sub[substitution_location_B] = np.nan
  
          ref_mp = naive.aamp(T_A, m, T_B=T_B_sub)
          comp_mp = aamped(
              dask_client, T_A, m, T_B_sub, ignore_trivial=False
          )
          naive.replace_inf(ref_mp)
          naive.replace_inf(comp_mp)
          npt.assert_almost_equal(ref_mp, comp_mp)
  
imports: import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from dask.distributed import Client, LocalCluster
  from stumpy import aamped, config
label_desc: Use image node_id 20 for calling a global function with example usage: test_aamped_one_subsequence_nan_A_B_join(T_A, T_B, substitution_location_B, dask_cluster) without return types