Skip to content

Commit

Permalink
loosen tolerance from 15 places to 14 for gaia proper motion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanneBogart committed May 20, 2024
1 parent 5b24182 commit 6a722fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_gaia_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def test_proper_motion(self):
gaia_id = obj.id.split('_')[-1]
df = self.df.query(f"id=={gaia_id}")
row = df.iloc[0]
self.assertAlmostEqual(np.degrees(row.coord_ra), obj.ra, places=15)
self.assertAlmostEqual(np.degrees(row.coord_ra), obj.ra, places=14)
self.assertAlmostEqual(np.degrees(row.coord_dec), obj.dec,
places=15)
places=14)

self.assertEqual(mjd0, object_list.mjd)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_gaia_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def test_proper_motion(self):
gaia_id = obj.id.split('_')[-1]
df = self.df.query(f"id=={gaia_id}")
row = df.iloc[0]
self.assertAlmostEqual(np.degrees(row.coord_ra), obj.ra, places=15)
self.assertAlmostEqual(np.degrees(row.coord_ra), obj.ra, places=14)
self.assertAlmostEqual(np.degrees(row.coord_dec), obj.dec,
places=15)
places=14)

self.assertEqual(mjd0, object_list.mjd)

Expand Down

0 comments on commit 6a722fa

Please sign in to comment.