Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ricky O'Steen <39831871+rosteen@users.noreply.github.com>
  • Loading branch information
kecnry and rosteen committed Apr 22, 2022
1 parent 2705d4d commit 616c475
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specutils/tests/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ def test_centroid(simulated_spectra):
assert isinstance(spec_centroid, u.Quantity)
assert np.allclose(spec_centroid.value, spec_centroid_expected.value)
assert hasattr(spec_centroid, 'uncertainty')
assert quantity_allclose(spec_centroid.uncertainty, 3.91834165e-06*u.um, rtol=5e-5)


def test_centroid_masked(simulated_spectra):
Expand Down

0 comments on commit 616c475

Please # to comment.