Skip to content

Commit a95e0c5

Browse files
committed
Fix rebase errors
1 parent 233a247 commit a95e0c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/astro_image_display_api/widget_api_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def test_load_catalog_multiple_same_label(self, catalog):
299299
def test_load_catalog_with_skycoord_no_wcs(self, catalog, data):
300300
# Check that loading a catalog with skycoord but no x/y and
301301
# no WCS returns a catalog with None for x and y.
302-
self.image.load_array(data)
302+
self.image.load_image(data)
303303

304304
# Remove x/y columns from the catalog
305305
del catalog['x', 'y']
@@ -314,15 +314,15 @@ def test_load_catalog_with_skycoord_no_wcs(self, catalog, data):
314314
def test_load_catalog_with_use_skycoord_no_skycoord_no_wcs(self, catalog, data):
315315
# Check that loading a catalog with use_skycoord=True but no
316316
# skycoord column and no WCS raises an error.
317-
self.image.load_array(data)
317+
self.image.load_image(data)
318318
del catalog['coord'] # Remove the skycoord column
319319
with pytest.raises(ValueError, match='Cannot use sky coordinates without'):
320320
self.image.load_catalog(catalog, use_skycoord=True)
321321

322322
def test_load_catalog_with_xy_and_wcs(self, catalog, data, wcs):
323323
# Check that loading a catalog that wants to use sky coordinates,
324324
# has no coordinate column but has x/y and a WCS works.
325-
self.image.load_nddata(NDData(data=data, wcs=wcs))
325+
self.image.load_image(NDData(data=data, wcs=wcs))
326326

327327
# Remove the skycoord column from the catalog
328328
del catalog['coord']

0 commit comments

Comments
 (0)