Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Oct 11, 2023
1 parent 0dbdb71 commit e39b2db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions glue_astronomy/translators/tests/test_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,16 @@ def test_ellipse_roi(self, theta):

def test_point_roi(self):

subset_state = self.setup_rois('PointROI', *[1, 3.5])
subset_state = self.setup_rois('PointROI', *[2.64, 5.4])

self.dc.new_subset_group(subset_state=subset_state, label='point')

reg = self.data.get_selection_definition(format='astropy-regions')

assert isinstance(reg, PointPixelRegion)

assert_equal(reg.center.x, 1)
assert_equal(reg.center.y, 3.5)
assert_equal(reg.center.x, 2.64)
assert_equal(reg.center.y, 5.4)

def test_xregion_roi(self):

Expand Down

0 comments on commit e39b2db

Please sign in to comment.