Fixing the test for cube_recenter_satspots
@@ -339,7 +339,8 @@ def test_satspots_image(debug=False):
#===== recenter
spotcoords = [(41, 109), (109, 109), (41, 41), (109, 41)] # NW NE SW SE
- method_args = dict(xy=spotcoords, subi_size=25, plot=False, verbose=False)
+ method_args = dict(xy=spotcoords, subi_size=25, plot=False,
+ full_output=True, verbose=False)
do_recenter(method, cube, randax, randay, errormsg=errormsg, debug=debug,
**method_args)
@@ -362,7 +363,8 @@ def test_satspots(debug=False):
randay = seed.uniform(0, shift_magnitude, size=n_frames)
#===== recenter
- method_args = dict(xy=spotcoords, subi_size=9, plot=False, verbose=False)
+ method_args = dict(xy=spotcoords, subi_size=9, plot=False,
+ full_output=True, verbose=False)
do_recenter(method, cube, randax, randay, errormsg=errormsg, debug=debug,
**method_args)
