Skip to content

Commit

Permalink
Removing temp test file
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Apr 19, 2019
1 parent d9f0e18 commit 07a81f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 81 deletions.
8 changes: 3 additions & 5 deletions dust_extinction/parameter_averages.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,12 +591,10 @@ def evaluate(in_x, Rv):
"""
# convert to wavenumbers (1/micron) if x input in units
# otherwise, assume x in appropriate wavenumber units
with u.add_enabled_equivalencies(u.spectral()):
x_quant = u.Quantity(in_x, 1.0/u.micron, dtype=np.float64)
x = _get_x_in_wavenumbers(in_x)

# strip the quantity to avoid needing to add units to all the
# polynomical coefficients
x = x_quant.value
# check that the wavenumbers are within the defined range
_test_valid_x_range(x, x_range_GCC09, 'GCC09')

# check that the wavenumbers are within the defined range
_test_valid_x_range(x, x_range_GCC09, 'GCC09')
Expand Down
76 changes: 0 additions & 76 deletions dust_extinction/tests/test_gcc10.py

This file was deleted.

0 comments on commit 07a81f7

Please sign in to comment.