Skip to content

Commit

Permalink
Update query_test.py
Browse files Browse the repository at this point in the history
 - try and fix test
  • Loading branch information
mattpitkin authored Feb 16, 2024
1 parent e59bbdd commit 0376646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psrqpy/tests/query_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,12 +921,12 @@ def test_derived_gw_parameters(query):

# use query table functions
ell = query.gw_ellipticity()
ellipticity = ell[ell["PSRJ"] == "J0835-4510"]["ELL"]
ellipticity = ell[ell["PSRJ"] == "J0835-4510"]["ELL"][0]
assert 0.95 < ellipticity / expectedell < 1.05

# use query table functions
q22t = query.gw_mass_quadrupole()
q22 = q22t[q22t["PSRJ"] == "J0835-4510"]["Q22"]
q22 = q22t[q22t["PSRJ"] == "J0835-4510"]["Q22"][0]
assert 0.95 < q22 / expectedQ22 < 1.05


Expand Down

0 comments on commit 0376646

Please sign in to comment.