def METHOD_NAME(self):
    print(' --------------------------------------------------')
    print('test_grid/combo');
    filename=os.path.abspath(my_path+"/../test/testdata/MNI_2mm_scaled.grd");
    combo=bis.bisComboTransformation();
    combo.load(filename);
    bsplinegrid=combo.grids[0];
    pt370=[ -1.5743, -0.0616, -1.1677 ];
    g=bsplinegrid.get_data();
    n=bsplinegrid.getNumberOfControlPoints();
    disp = [ g[370],g[370+n],g[370+2*n]];
    error=0.0;
    print('pt370=',pt370,' disp=',disp);
    for k in range(0,3):
        error+=abs(disp[k]-pt370[k]);
    print("++++ checking bspline grid loading error0=",error);
    obj = { "dimensions" : self.images[2].dimensions,
     "spacing" : self.images[2].spacing,
    };
    wasm_out_g=libbiswasm.computeDisplacementFieldWASM(combo.grids[0],obj,1);
    wasm_out_c=libbiswasm.computeDisplacementFieldWASM(combo,obj,1);
    print('wasm_out_g=',wasm_out_g.dimensions);
    print('wasm_out_c=',wasm_out_c.dimensions);
    print('gold=',self.images[3].dimensions);
    x=wasm_out_g.get_data()-self.images[3].get_data();
    err_g=max(-x.min(), x.max());
    x=wasm_out_c.get_data()-self.images[3].get_data();
    err_c=max(-x.min(), x.max());
    x=wasm_out_c.get_data()-wasm_out_g.get_data();
    err_cg=max(-x.min(), x.max());
    print('error: grid=',err_g, 'combo=', err_c,' combo-grid=',err_cg);
    success=False;
    if err_g<0.01 and err_c<0.01 and err_cg<0.01 and error<0.001:
        success=True;
    self.assertEqual(success,True);